zorigami
Version:
a package for managing web workers
33 lines (32 loc) • 2.04 kB
TypeScript
export declare const SETUP_CHANNEL = "worker_constants/SETUP_CHANNEL";
export declare type SETUP_CHANNEL = typeof SETUP_CHANNEL;
export declare const EXPOSE_WORKER_API = "worker_constants/EXPOSE_WORKER_API";
export declare type EXPOSE_WORKER_API = typeof EXPOSE_WORKER_API;
export declare const RESPONSE_MESSAGE = "worker_constants/RESPONSE_MESSAGE";
export declare type RESPONSE_MESSAGE = typeof RESPONSE_MESSAGE;
export declare const TRIGGER_EXPOSE_WORKER_API = "worker_constants/TRIGGER_EXPOSE_WORKER_API";
export declare type TRIGGER_EXPOSE_WORKER_API = typeof TRIGGER_EXPOSE_WORKER_API;
export declare const EXPOSE_MAIN_API = "worker_constants/EXPOSE_MAIN_API";
export declare type EXPOSE_MAIN_API = typeof EXPOSE_MAIN_API;
export declare const REJECT_MESSAGE = "worker_constants/REJECT_MESSAGE";
export declare type REJECT_MESSAGE = typeof REJECT_MESSAGE;
export declare const LIST_CONNECTIONS = "worker_constants/LIST_CONNECTIONS";
export declare type LIST_CONNECTIONS = typeof LIST_CONNECTIONS;
export declare const MAIN_THREAD_NAME = "main_thread";
export declare type MAIN_THREAD_NAME = typeof MAIN_THREAD_NAME;
export declare const ACK = "ACK";
export declare type ACK = typeof ACK;
export declare const INDIVIDUAL_WORKER = "worker_config/INDIVIDUAL_WORKER";
export declare type INDIVIDUAL_WORKER = typeof INDIVIDUAL_WORKER;
export declare const TRANSPARENT_POOL = "worker_config/TRANSPARENT_POOL";
export declare type TRANSPARENT_POOL = typeof TRANSPARENT_POOL;
export declare const REDIRECT_URL = "main_actions/REDIRECT_URL";
export declare type REDIRECT_URL = typeof REDIRECT_URL;
export declare const FLUSH_DATA = "main_actions/FLUSH_DATA";
export declare type FLUSH_DATA = typeof FLUSH_DATA;
export declare const DESTROY_WORKER = "main_actions/DESTROY_WORKER";
export declare type DESTROY_WORKER = typeof DESTROY_WORKER;
export declare const LOAD_SCRIPT = "main_actions/LOAD_SCRIPT";
export declare type LOAD_SCRIPT = typeof LOAD_SCRIPT;
export declare const TIMEOUT: number;
export declare type TIMEOUT = typeof TIMEOUT;