Type Alias PingedFunctionFunction<T, TSource>

PingedFunctionFunction<T, TSource>: ((value: TSource, abort: ((reason: string) => void)) => T) | ((value: TSource, abort: ((reason: string) => void)) => Promise<T>)

Function which returns a result. Or promised result. Takes a value as first parameter, and callback to signal an abort as the second.

Type Parameters

  • T
  • TSource