MCPcopy Create free account
hub / github.com/microsoft/SandDance / Async1

Function Async1

docs/app/js/sanddance-app.js:20697–20707  ·  view source on GitHub ↗
(parent, onError)

Source from the content-addressed store, hash-verified

20695 */ var Async = /** @class */ function() {
20696 // eslint-disable-next-line @typescript-eslint/no-explicit-any
20697 function Async1(parent, onError) {
20698 this._timeoutIds = null;
20699 this._immediateIds = null;
20700 this._intervalIds = null;
20701 this._animationFrameIds = null;
20702 this._isDisposed = false;
20703 this._parent = parent || null;
20704 this._onErrorHandler = onError;
20705 this._noop = function() {
20706 /* do nothing */ };
20707 }
20708 /**
20709 * Dispose function, clears all async operations.
20710 */ Async1.prototype.dispose = function() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected