editor › Globals › AsyncPolygonClipperProvider
Class: AsyncPolygonClipperProvider
Provides other classes with an instance of a polygon clipper, depending on which implementation is currently considered good. Why are there classes for sync and async? Because the async provider somewhere down in the dependency chain might require the syncClipperProvider (…inside a webworker) and this causes webpack to loop endlessly
Hierarchy
- AsyncPolygonClipperProvider
Index
Methods
Methods
Static getInstance
▸ getInstance(): RemotePolygonClipper‹›
Defined in src/util/polygon/provider/AsyncPolygonClipperProvider.ts:15
Returns: RemotePolygonClipper‹›
a PolygonClipper instance that works asynchronously, i.e. returns promises that eventually resolve to the 'originally specified' PolygonClipper return values