function worker() {
    this._worker = {
        initialized: {value: false},
        transferable: false,
        msg_id: 0,
        handlers: {},
        messages: []
    };
    bindall(this);
}
/**
 * Perspective's worker API handles and processes asynchronous messages, interfacing with the Perspective host class.
 *
 * Child classes must implement the `send()` interface, which defines how messages are dispatched in different contexts.
 *
 * `handlers` is a dictionary of resolve/reject callbacks for each method the worker receives.
 *
 * @export
 */
Perspective's worker API handles and processes asynchronous messages, interfacing with the Perspective host class.
Child classes must implement the `send()` interface, which defines how messages are dispatched in different contexts.

`handlers` is a dictionary of resolve/reject callbacks for each method the worker receives.

@export
Perspective ' s worker API handles and processes asynchronous messages interfacing with the Perspective host class . Child classes must implement the ` send () ` interface which defines how messages are dispatched in different contexts . ` handlers ` is a dictionary of resolve / reject callbacks for each method the worker receives . @export
function worker() {
    this._worker = {
        initialized: {value: false},
        transferable: false,
        msg_id: 0,
        handlers: {},
        messages: []
    };
    bindall(this);
}
function worker ( ) { this . _worker = { initialized : { value : false } , transferable : false , msg_id : 0 , handlers : { } , messages : [ ] } ; bindall ( this ) ; }
Perspective's worker API handles and processes asynchronous messages, interfacing with the Perspective host class.
Perspective ' s worker API handles and processes asynchronous messages interfacing with the Perspective host class .