Interface FluxDispatcher

interface FluxDispatcher {
    _actionHandlers: ActionHandlersGraph;
    _currentDispatchActionType: null | string;
    _defaultBand: DispatchBand;
    _dispatch: ((action: Action, func: ((name: string, dispatchFunc: unknown) => undefined | boolean)) => undefined | boolean);
    _dispatchWithDevtools: ((action: Action) => void);
    _dispatchWithLogging: ((action: Action) => void);
    _interceptors: ((...rest: unknown[]) => unknown)[];
    _processingWaitQueue: boolean;
    _sentryUtils: undefined | null | SentryUtils;
    _subscriptions: Record<string, Set<ActionHandler>>;
    _waitQueue: ((...rest: unknown[]) => unknown)[];
    actionLogger: ActionLogger;
    addDependencies: ((token: string, tokens: string[]) => void);
    addInterceptor: ((callback: ((...rest: unknown[]) => unknown)) => void);
    createToken: (() => string);
    dispatch: ((action: Action) => void);
    flushWaitQueue: (() => void);
    functionCache: Record<string, ((action: Action) => void)>;
    isDispatching: (() => boolean);
    register: ((name: string, actionHandlers: ActionHandlerRecord, storeDidChange: ((action: Action) => void), band: DispatchBand, token?: string) => string);
    subscribe: (<A>(type: string, callback: ActionHandler<A>) => void);
    unsubscribe: (<A>(type: string, callback: ActionHandler<A>) => void);
    wait: ((callback: ((...rest: unknown[]) => unknown)) => void);
}

Properties

_actionHandlers: ActionHandlersGraph
_currentDispatchActionType: null | string
_defaultBand: DispatchBand
_dispatch: ((action: Action, func: ((name: string, dispatchFunc: unknown) => undefined | boolean)) => undefined | boolean)
_dispatchWithDevtools: ((action: Action) => void)
_dispatchWithLogging: ((action: Action) => void)
_interceptors: ((...rest: unknown[]) => unknown)[]
_processingWaitQueue: boolean
_sentryUtils: undefined | null | SentryUtils
_subscriptions: Record<string, Set<ActionHandler>>
_waitQueue: ((...rest: unknown[]) => unknown)[]
actionLogger: ActionLogger
addDependencies: ((token: string, tokens: string[]) => void)
addInterceptor: ((callback: ((...rest: unknown[]) => unknown)) => void)
createToken: (() => string)
dispatch: ((action: Action) => void)
flushWaitQueue: (() => void)
functionCache: Record<string, ((action: Action) => void)>
isDispatching: (() => boolean)
register: ((name: string, actionHandlers: ActionHandlerRecord, storeDidChange: ((action: Action) => void), band: DispatchBand, token?: string) => string)
subscribe: (<A>(type: string, callback: ActionHandler<A>) => void)
unsubscribe: (<A>(type: string, callback: ActionHandler<A>) => void)
wait: ((callback: ((...rest: unknown[]) => unknown)) => void)