callWithOptions<
A extends any[],
T extends (args: A) =
> Promise<any>>(
options: AsyncCallerCallOptions,
callable: T,
args: Parameters<T>
): Promise<Awaited<ReturnType<T>>>| Name | Type | Description |
|---|---|---|
options* | AsyncCallerCallOptions | |
callable* | T | |
args* | Parameters<T> |