Type Alias FunctionFunction<T>

FunctionFunction<T>: ((abort: ((reason: string) => void)) => T) | ((abort: ((reason: string) => void)) => Promise<T>)

Function which returns a result. Or promised result.

abort value is a callback to exit out of looped execution.

Type Parameters

  • T