Package: effect
Module: Function
Returns no meaningful value when called.
When to use
Use when you need a thunk that is called only for its effect and has no meaningful return value.
Example (Returning void from a thunk)
import { Function } from "effect"
import * as assert from "node:assert"
assert.deepStrictEqual(Function.constVoid(), undefined)
Signature
declare const constVoid: LazyArg<void>
Since v2.0.0