/** * Provides a way to queue a unit of work to a context. * * @remarks * While there is no built-in multi-threading support in JavaScript, this class provides abstraction for APIs * in the same library (e.g., {@link EventEmitter}) to allow their asynchronous behavior to be overridden * to some extent. */ export declare class SynchronizationContext { static get current(): SynchronizationContext; static set current(value: SynchronizationContext); /** * Dispatches an asynchronous message to a synchronization context. * @param callback the callback to execute on the synchronization context. * @virtual * The default implementation is to leverage {@link queueMicrotask} to queue the work asynchronously. */ post(callback: () => void): void; } //# sourceMappingURL=synchronizationContext.d.ts.map