@jbrowse/core
Version:
JBrowse 2 core libraries used by plugins
4 lines (3 loc) • 486 B
TypeScript
import type { StopToken } from './stopToken.ts';
import type { IReactionOptions, IReactionPublic } from 'mobx';
export declare function makeAbortableReaction<T, U, V>(self: T, dataFunction: (arg: T) => U, asyncReactionFunction: (arg: U | undefined, stopToken: StopToken, model: T, handle: IReactionPublic) => Promise<V>, reactionOptions: IReactionOptions, startedFunction: (stopToken: StopToken) => void, successFunction: (arg: V) => void, errorFunction: (err: unknown) => void): void;