Function: mapAbortedToNull()
mapAbortedToNull<
T
>(promise
,signal
):Promise
<null
|T
>
Defined in: coreUtils/async.ts:7
Transforms Promise
in such a way that resolved or rejected results
are mapped to null
if specified abort signal
is aborted.
Type Parameters
Type Parameter |
---|
|
Parameters
Parameter | Type |
---|---|
|
|
|
|
Returns
Promise
<null
| T
>