Interface: CancellationScopeFunction()
ctx.cancellationScope(fn, options) and ctx.cancellationScope.current().
CancellationScopeFunction<
T>(fn,options?):Promise<T>
ctx.cancellationScope(fn, options) and ctx.cancellationScope.current().
Type Parameters
T
T
Parameters
fn
(ctx) => Promise<T>
options?
Returns
Promise<T>
Methods
current()
current():
CancellationScope