MCPcopy Create free account

hub / github.com/Effect-TS/effect / functions

Functions8,651 in github.com/Effect-TS/effect

↓ 1,196 callersMethodpipe
(this: A)
packages/effect/src/Pipeable.ts:45
↓ 940 callersMethodget
* Retrieves a Layer for the resources associated with the key.
packages/effect/src/LayerMap.ts:88
↓ 895 callersMethodsucceed
(input: S["~type.make.in"], expected?: S["Type"])
packages/effect/src/testing/TestSchema.ts:123
↓ 654 callersMethodmap
(f: (t: T) => T2)
packages/effect/src/SchemaGetter.ts:79
↓ 642 callersMethodmake
* Constructs a value from the make input representation synchronously. * * **When to use** * * Use when constructor input is trusted or wh
packages/effect/src/Schema.ts:214
↓ 618 callersMethodpush
(item: A)
packages/effect/src/unstable/reactivity/AtomRef.ts:326
↓ 439 callersMethodset
(this: AtomContext, atom: Writable<R, W>, value: W)
packages/effect/src/unstable/reactivity/Atom.ts:176
↓ 416 callersMethodprovide
* Returns a new {@link Decoding} instance with the given service injected into the decoding effect context. * * **When to use** * * Use wh
packages/effect/src/testing/TestSchema.ts:419
↓ 402 callersMethodfail
(input: unknown, message: string)
packages/effect/src/testing/TestSchema.ts:135
↓ 396 callersMethodjoin
* Reassembles all chunks for a message id into the original binary payload. * * @since 4.0.0
packages/effect/src/unstable/eventlog/EventLogMessage.ts:210
↓ 318 callersMethodsync
()
packages/effect/src/PubSub.ts:2757
↓ 299 callersMethodmap
(f: (a: B) => C)
packages/effect/src/unstable/reactivity/AtomRef.ts:224
↓ 294 callersMethodsome
(this: AtomContext, atom: Atom<Option.Option<A>>)
packages/effect/src/unstable/reactivity/Atom.ts:178
↓ 254 callersMethodget
(this: AtomContext, atom: Atom<A>)
packages/effect/src/unstable/reactivity/Atom.ts:162
↓ 217 callersMethodmake
(input: null, options?: Schema.MakeOptions)
packages/effect/src/unstable/rpc/Rpc.ts:54
↓ 204 callersMethodfilter
* Separates SSE retry directives from regular event values. * * @since 4.0.0
packages/effect/src/unstable/encoding/Sse.ts:621
↓ 198 callersMethodadd
(_case: Case)
packages/effect/src/Match.ts:99
↓ 195 callersFunctionf
()
packages/effect/test/Equal.test.ts:1074
↓ 194 callersMethodhas
(_shift: number, hash: number, key: K)
packages/effect/src/internal/hashMap.ts:210
↓ 161 callersMethodforEach
* Focuses **all elements** of an array-like focus and optionally narrows * to a subset using an element-level optic. * Available only on {@link
packages/effect/src/Optic.ts:841
↓ 136 callersMethodclose
()
packages/effect/src/PubSub.ts:143
↓ 136 callersMethodfail
(message: string)
packages/effect/src/unstable/encoding/Yaml.ts:317
↓ 128 callersMethodparse
()
packages/effect/src/unstable/encoding/Yaml.ts:200
↓ 122 callersMethodtag
* Narrows the focus to the variant of a tagged union with the given * `_tag` value. * * **Details** * * - On a {@link Prism}, returns a
packages/effect/src/Optic.ts:664
↓ 122 callersMethodtoString
()
packages/effect/src/Inspectable.ts:127
↓ 115 callersMethodreplace
(a: A, _: S)
packages/effect/src/Optic.ts:1131
↓ 113 callersFunctionresume
(exit)
packages/effect/src/unstable/rpc/RpcClient.ts:398
↓ 110 callersMethodof
(this: void, self: Shape)
packages/effect/src/Context.ts:99
↓ 104 callersMethodaddFinalizer
(this: AtomContext, f: () => void)
packages/effect/src/unstable/reactivity/Atom.ts:170
↓ 97 callersMethodassign
(target: Table, keys: ReadonlyArray<string>, value: unknown)
packages/effect/src/unstable/encoding/Toml.ts:133
↓ 97 callersMethodtake
()
packages/effect/src/PubSub.ts:140
↓ 95 callersMethodawait
(this: Entry<A, E>)
packages/effect/src/Cache.ts:142
↓ 91 callersMethodmerge
* Merge this group with one or more other groups.
packages/effect/src/unstable/rpc/RpcGroup.ts:52
↓ 88 callersMethodadd
* Add one or more procedures to the group.
packages/effect/src/unstable/rpc/RpcGroup.ts:45
↓ 88 callersMethodfind
(method: string, path: string)
packages/effect/src/unstable/http/FindMyWay/internal/router.ts:272
↓ 88 callersMethodsplit
* Splits binary event-log message data into numbered chunks. * * @since 4.0.0
packages/effect/src/unstable/eventlog/EventLogMessage.ts:190
↓ 85 callersFunctiondeepStrictEqual
(actual: A, expected: A, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:17
↓ 79 callersMethodsleep
* Asynchronously sleeps for the specified duration. * * **When to use** * * Use to delay an `Effect` workflow by a duration through this `
packages/effect/src/Clock.ts:148
↓ 79 callersFunctionstrictEqual
(actual: A, expected: A, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:33
↓ 79 callersMethodtransform
(to: L2)
packages/effect/src/Schema.ts:2750
↓ 75 callersMethodequals
(value: A, next: A)
packages/effect/src/unstable/reactivity/Atom.ts:71
↓ 75 callersMethodrun
(options: ApiDiffOptions)
packages/tools/api-diff/src/ApiDiff.ts:151
↓ 73 callersMethodall
(path: Router.PathInput, handler: A)
packages/effect/src/unstable/http/FindMyWay/internal/router.ts:99
↓ 73 callersMethodcontext
(self: Shape)
packages/effect/src/Context.ts:100
↓ 73 callersMethodhas
(method: string, path: string)
packages/effect/src/unstable/http/FindMyWay/internal/router.ts:258
↓ 73 callersMethodinterrupt
* Creates a terminal reply context that interrupts the supplied request. * * @since 4.0.0
packages/effect/src/unstable/cluster/Reply.ts:113
↓ 71 callersFunctionpipeArguments
(self: A, args: IArguments)
packages/effect/src/Pipeable.ts:564
↓ 70 callersFunctionpipe
()
packages/effect/src/Sink.ts:184
↓ 65 callersMethodannotate
(annotations: Context.Context<never> | ReadonlyMap<string, unknown>, options?: { readonly overwrite?: bo
packages/effect/src/Cause.ts:264
↓ 64 callersMethodflip
@internal
packages/effect/src/SchemaAST.ts:2909
↓ 62 callersMethodcombine
(first: Patch, second: Patch)
packages/effect/src/Differ.ts:30
↓ 62 callersMethodwrite
(event: AnyEvent)
packages/effect/src/unstable/encoding/Sse.ts:497
↓ 60 callersMethodcheck
* Adds one or more `Schema` validation checks to the optic chain. * `getResult` fails when any check fails; `set` passes through unchanged. *
packages/effect/src/Optic.ts:590
↓ 60 callersMethodsync
()
packages/platform/deno/src/DenoFileSystem.ts:206
↓ 54 callersFunctionassert
(condition: boolean, ...args: ReadonlyArray<any>)
packages/effect/src/Console.ts:141
↓ 53 callersFunctionassertTrue
(self: unknown, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:71
↓ 53 callersMethodlog
(options: Options<Message>)
packages/effect/src/Logger.ts:66
↓ 53 callersMethodsync
()
packages/platform/node-shared/src/NodeFileSystem.ts:273
↓ 50 callersMethodgetUnsafe
()
packages/effect/src/unstable/cluster/internal/resourceRef.ts:64
↓ 50 callersMethodon
(event: "field", listener: (field: Field) => void)
packages/platform/node/src/NodeMultipartParser.ts:42
↓ 50 callersMethodremove
( _edit: number, _shift: number, hash: number, key: K, removed: { value: boolean } )
packages/effect/src/internal/hashMap.ts:259
↓ 50 callersMethodvalue
()
packages/effect/src/unstable/reactivity/AtomRef.ts:210
↓ 49 callersMethodadjust
* Increments the current clock time by the specified duration. Any effects * that were scheduled to occur on or before the new time will be run in
packages/effect/src/testing/TestClock.ts:100
↓ 49 callersMethodgetRef
(ref: Context.Reference<X>)
packages/effect/src/internal/effect.ts:557
↓ 49 callersMethodoffer
(a: A)
packages/effect/src/PubSub.ts:2709
↓ 49 callersMethodoptionalKey
* Focuses on a key where setting `undefined` **removes** the key from the * struct (or splices the element from an array/tuple). * * **Detail
packages/effect/src/Optic.ts:556
↓ 48 callersMethoddone
()
packages/effect/src/String.ts:1180
↓ 46 callersMethodclear
()
packages/effect/src/Console.ts:27
↓ 45 callersMethodtoCodecJson
@internal
packages/effect/src/SchemaAST.ts:853
↓ 44 callersMethodopenUnsafe
* Opens the latch synchronously, releasing all fibers waiting on it. * * **When to use** * * Use when synchronous code must open the latch
packages/effect/src/Latch.ts:69
↓ 44 callersMethodsize
()
packages/effect/src/PubSub.ts:94
↓ 42 callersMethodend
(endTime: bigint, exit: Exit.Exit<unknown, unknown>)
packages/effect/src/Tracer.ts:383
↓ 42 callersMethodstream
(this: AtomContext, atom: Atom<A>, options?: { readonly withoutInitialValue?: boolean readonly bufferS
packages/effect/src/unstable/reactivity/Atom.ts:180
↓ 41 callersFunctionformat
(cron: Cron, options?: { readonly includeSeconds?: boolean | undefined })
packages/effect/src/Cron.ts:643
↓ 41 callersFunctionpredicate
(a: number)
packages/effect/test/Option.test.ts:391
↓ 41 callersMethodsend
()
packages/platform/node/test/NodeSocket.test.ts:158
↓ 41 callersMethodtoJSON
()
packages/effect/src/Inspectable.ts:128
↓ 40 callersMethodaddObserver
(cb: (exit: Exit.Exit<A, E>) => void)
packages/effect/src/internal/effect.ts:560
↓ 40 callersMethodcurrentTimeMillisUnsafe
* Returns the current Unix time in milliseconds unsafely. * * **When to use** * * Use to read a wall-clock timestamp synchronously when yo
packages/effect/src/Clock.ts:65
↓ 39 callersFunctionmake
(value: A)
packages/effect/src/Ref.ts:173
↓ 38 callersMethodof
* A helper method which can be used for type-safe handler declarations.
packages/effect/src/unstable/ai/Toolkit.ts:84
↓ 37 callersMethodmodify
* Returns a function `(s: S) => S` that applies `f` to the focused value. * If the optic cannot focus, the original `s` is returned unchanged. *
packages/effect/src/Optic.ts:501
↓ 37 callersMethodnext
( ...args: ReadonlyArray<any> )
packages/effect/src/Effect.ts:246
↓ 37 callersFunctionoptional
( schema: S )
packages/effect/src/unstable/ai/McpSchema.ts:83
↓ 37 callersMethodpollUnsafe
()
packages/effect/src/internal/effect.ts:595
↓ 37 callersFunctionthrows
(thunk: () => void, error?: string | Error | ((u: unknown) => undefined), ..._: Array<never>)
packages/effect/test/utils/assert.ts:104
↓ 36 callersMethodexecute
( sql: string, params: ReadonlyArray<unknown>, transformRows: (<A extends object>(row: ReadonlyArr
packages/sql/pg/src/PgClient.ts:685
↓ 36 callersMethodtoLayer
* Converts a toolkit into a `Layer` containing handlers for each tool in the * toolkit.
packages/effect/src/unstable/ai/Toolkit.ts:98
↓ 36 callersMethoduse
(f: (service: Shape) => Effect<A, E, R>)
packages/effect/src/Context.ts:101
↓ 34 callersMethodis
* Attempts to refine the provided value of type `Unbranded<B>`, returning * `true` if the provided value is a valid branded type, `false` otherwise
packages/effect/src/Brand.ts:80
↓ 33 callersMethodannotate
* Annotate the entity with a value.
packages/effect/src/unstable/cluster/Entity.ts:100
↓ 33 callersFunctionfromChannel
( channel: Channel.Channel< never, E, End<A, L>, NonEmptyReadonlyArray<In>, never, v
packages/effect/src/Sink.ts:235
↓ 33 callersMethodupdate
(input: number | bigint)
packages/effect/src/Metric.ts:1780
↓ 32 callersFunctionassertFalse
(self: boolean, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:75
↓ 32 callersMethodinterruptUnsafe
(fiberId?: number | undefined, annotations?: Context.Context<never> | undefined)
packages/effect/src/internal/effect.ts:573
↓ 32 callersFunctionmap
(self: HashSet<V>, f: (value: V) => U)
packages/effect/src/internal/hashSet.ts:151
↓ 32 callersMethodonInterrupt
(f: (interruptors: ReadonlySet<number>, result: Failure<A, E>) => B)
packages/effect/src/unstable/reactivity/AsyncResult.ts:891
↓ 31 callersMethodadd
* Add a `HttpApiGroup` to the `HttpApi`.
packages/effect/src/unstable/httpapi/HttpApi.ts:66
↓ 31 callersFunctionconstant
(a: A)
packages/effect/src/Combiner.ts:266
↓ 31 callersMethodupdate
()
packages/effect/test/schema/Schema.test.ts:6698
next →1–100 of 8,651, ranked by callers