effect-io-ai

Package: effect
Module: RequestResolver

RequestResolver.never

Creates a request resolver that never executes requests.

When to use

Use as a resolver value for request types that are statically impossible and should never be issued.

Gotchas

If this resolver is used for an actual request, the request waits forever unless the fiber is interrupted.

See

Signature

declare const never: RequestResolver<never>

Source

Since v2.0.0