method mapFromAsync.constant
mapFromAsync.constant<TValue>(value: TValue): () => Promise<TValue>

Type Parameters

TValue

Parameters

value: TValue

Return Type

() => Promise<TValue>

Usage

import { mapFromAsync } from ".";