MCPcopy Create free account
hub / github.com/Effect-TS/effect / of

Function of

packages/effect/src/Request.ts:293–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

291 * @since 2.0.0
292 */
293export const of = <R extends Request<any, any, any>>(): Constructor<R> => (args) =>
294 Object.setPrototypeOf({ ...(args as R) }, RequestPrototype)
295
296/**
297 * Creates a constructor function for a tagged Request type. The tag is automatically

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected