@task.flow/timer
Utilities for tracking time in @task.flow
Usage
import Task from "@task.flow/task"
import Timer from "@task.flow/timer"
declare function someIO(): Task<Error, ArrayBuffer>
const maybeIO = Task.select(someIO(), Timer.timeout(2000))
// maybeIO:Task<Error, ?ArrayBuffer>
Install
npm install @task.flow/timer