flywave-mapview.concurrentdecoderfacade
Home > @flywave/flywave-mapview > ConcurrentDecoderFacade
ConcurrentDecoderFacade class
Default concurrent decoder helper.
A convenient singleton that maintains a separate [[ConcurrentWorkerSet]] for each bundle requested. Provides easy access to WorkerBasedDecoders for data sources.
Signature:
export declare class ConcurrentDecoderFacade
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| string | The URL containing a script to fall back (default) to when looking for worker sets and decoders. | |
| number | (Optional) The default number of workers. |
Methods
Method | Modifiers | Description |
|---|---|---|
| Destroys all managed [[ConcurrentWorkerSet]]s. | |
| Destroys this [[ConcurrentDecoderFacade]] if all of the [[ConcurrentWorkerSet]]s are terminated. | |
| Destroys a [[ConcurrentWorkerSet]] instance. | |
getTileDecoder(decoderServiceType, scriptUrl, workerCount, workerConnectionTimeout) |
| Returns a WorkerBasedDecoder instance. |
getWorkerSet(scriptUrl, workerCount, workerConnectionTimeout) |
| Returns a [[ConcurrentWorkerSet]] instance based on the script URL specified. |