The target
Optional
mapId: string | numberA unique identifier for the Map instance using this Actor.
Sends a message from a main-thread map to a Worker or from a Worker back to a main-thread map instance.
the message to send
Optional
abortController: AbortControlleran optional AbortController to abort the request
a promise that will be resolved with the response data
An implementation of the Actor design pattern that maintains the relationship between asynchronous tasks and the objects that spin them off - in this case, tasks like parsing parts of styles, owned by the styles