Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/core/async

core/async

This module provides a class to control asynchronous operations.

import Async from 'core/async';

const
watcher = new Async();

watcher.setTimeout(() => {
console.log(1);
}, 100, {group: 'foo'});

watcher.setTimeout(() => {
console.log(2);
}, 200, {group: 'foo'});

watcher.clearTimeout({group: 'foo'});

Index

References

Re-exports AsyncCb
Re-exports AsyncCbOptions
Re-exports AsyncCbOptionsSingle
Re-exports AsyncIdleOptions
Re-exports AsyncOnOptions
Re-exports AsyncOnceOptions
Re-exports AsyncOptions
Re-exports AsyncOptionsForWrappers
Re-exports AsyncPromiseOptions
Re-exports AsyncPromisifyOnceOptions
Re-exports AsyncProxyOptions
Re-exports AsyncRequestIdleCallbackOptions
Re-exports AsyncRequestOptions
Re-exports AsyncWaitOptions
Re-exports AsyncWorkerOptions
Re-exports BoundFn
Re-exports CancelablePromise
Re-exports ClearFn
Re-exports ClearOptions
Re-exports ClearOptionsId
Re-exports ClearProxyOptions
Re-exports ClearReason
Re-exports DataProviderBodyMethodsToReplace
Re-exports DataProviderMethodsToReplace
Re-exports DataProviderQueryMethodsToReplace
Re-exports EmitLikeEvents
Re-exports Event
Re-exports EventEmitterLike
Re-exports EventEmitterLikeP
Re-exports EventEmitterOverwritten
Re-exports EventEmitterWrapper
Re-exports EventId
Re-exports FullAsyncOptions
Re-exports FullClearOptions
Re-exports GlobalCache
Re-exports Group
Re-exports IdObject
Re-exports IdleCb
Re-exports Join
Re-exports Label
Renames and re-exports Namespaces
Re-exports LocalCache
Re-exports MarkReason
Re-exports Namespace
Re-exports Namespaces
Re-exports NamespacesDictionary
Re-exports PromiseLikeP
Re-exports ProxyCb
Re-exports ReadonlyEventEmitterWrapper
Re-exports StrictClearOptions
Re-exports StrictClearOptionsId
Re-exports Task
Re-exports TaskCtx
Re-exports TimerId
Re-exports WorkerLike
Re-exports WorkerLikeP
Re-exports WrappedAsyncStorage
Re-exports WrappedAsyncStorageNamespace
Re-exports WrappedDataProvider
Re-exports asyncCounter
Re-exports asyncOptionsKeys
Re-exports dataProviderMethodsToReplace
Re-exports emitLikeEvents
Re-exports isAsyncOptions
Re-exports isEvent
Re-exports isParams
Re-exports isPromisifyLinkName
Re-exports isPromisifyNamespace
Re-exports isZombieGroup
Re-exports linkNamesDictionary
Re-exports namespaces