Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

fromPromiseSettledResultToResult

Convert {@link PromiseSettledResult} returned by {@link Promise.allSettled} to Result

function fromPromiseSettledResultToResult<T>(input: PromiseSettledResult<T>): Result<T, unknown>;
§
fromPromiseSettledResultToResult<T>(input: PromiseSettledResult<T>): Result<T, unknown>
[src]

§Type Parameters

§Parameters

§
input: PromiseSettledResult<T>
[src]

§Return Type

§
Result<T, unknown>
[src]