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

Function tagged

packages/effect/src/internal/request.ts:39–46  ·  view source on GitHub ↗
(
  tag: R["_tag"]
)

Source from the content-addressed store, hash-verified

37
38/** @internal */
39export const tagged = <R extends Request.Request<any, any> & { _tag: string }>(
40 tag: R["_tag"]
41): Request.Request.Constructor<R, "_tag"> =>
42(args) => {
43 const request = Object.assign(Object.create(RequestPrototype), args)
44 request._tag = tag
45 return request
46}
47
48/** @internal */
49export const Class: new<Success, Error, A extends Record<string, any>>(

Callers 2

timerFunction · 0.70
timerWithBoundariesFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…