MCPcopy Create free account

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

Functions24,750 in github.com/Effect-TS/effect

↓ 2,873 callersMethodmap
(f: (a: B) => C)
packages/effect/src/reactivity/AtomRef.ts:232
↓ 2,690 callersMethodpipe
(this: A)
packages/effect/src/Pipeable.ts:47
↓ 2,381 callersMethodmake
Issues the Command.
packages/effect/src/ui/Command.ts:787
↓ 2,114 callersMethodget
* Returns the stored value when it's fresh, and fetches otherwise, joining * a fetch already in flight. The result of the fetch is stored. *
packages/effect/src/ui/Query.ts:280
↓ 1,982 callersMethodpush
(input: In)
packages/effect/src/encoding/Xml.ts:921
↓ 1,881 callersMethodsucceed
(input: S["~type.make.in"], expected?: S["Type"])
packages/effect/src/testing/TestSchema.ts:213
↓ 1,246 callersMethodset
A write of a run's result into one entry, for a Command's `writes`.
packages/effect/src/ui/Query.ts:339
↓ 1,149 callersMethodfail
* Fails the oldest running Command matching `target` with a typed failure * of its body, and sends the message its `Command.match` maps it to. A
packages/effect/src/ui/testing/Steps.ts:493
↓ 1,123 callersMethodjoin
()
packages/effect/src/encoding/Zip.ts:1060
↓ 1,036 callersMethodprovide
(context: Context.Context<never>)
packages/effect/src/ui/Query.ts:574
↓ 981 callersMethodslice
(start?: number, end?: number)
packages/effect/test/Stream.test.ts:3944
↓ 913 callersMethodsync
()
packages/effect/src/PubSub.ts:3002
↓ 871 callersMethodhas
(key: unknown)
packages/effect/src/internal/request.ts:82
↓ 825 callersFunctiondescribe
()
packages/effect/test/ai/McpServer/TestUtils/McpHeldScheduler.ts:15
↓ 785 callersMethodfilter
* Separates SSE retry directives from regular event values. * * @stability unstable * @since 4.0.0
packages/effect/src/encoding/Sse.ts:651
↓ 750 callersMethodfrom
(buffer: ArrayBufferLike, byteOffset?: number, length?: number)
packages/effect/src/internal/base64.ts:56
↓ 743 callersMethodsome
(this: AtomContext, atom: Atom<Option.Option<A>>)
packages/effect/src/reactivity/Atom.ts:192
↓ 513 callersMethodlayer
()
packages/platform/cloudflare/test/CloudflarePersistedQueue.test.ts:93
↓ 507 callersMethoddelete
(key: unknown)
packages/effect/src/internal/request.ts:84
↓ 463 callersFunctionString
(name?: string)
packages/effect/src/Config.ts:997
↓ 459 callersMethodfind
* The one element `locator` matches. Throws, naming the step, when it * matches none or several, or when the Play's `refuse` rejects it.
packages/effect/src/ui/testing/Play.ts:318
↓ 452 callersMethodadd
(_case: Case)
packages/effect/src/Match.ts:179
↓ 400 callersMethodon
* Sends a message when `event` fires, as `View.ElementBuilder.on` does. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:1988
↓ 373 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:851
↓ 362 callersMethodrun
* Runs Commands owned by this instance: each ends when the instance does, * and gets a Scope of its own that closes with it. Their results come bac
packages/effect/src/ui/Component.ts:876
↓ 356 callersMethodattr
* Sets one attribute; `undefined` removes it. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:1998
↓ 355 callersMethodkeys
The keys it binds, read once, as `keys` can be an iterator.
packages/effect/src/ui/internal/boundRun.ts:81
↓ 339 callersMethodsplit
* Splits binary event-log message data into numbered chunks. * * @stability unstable * @since 4.0.0
packages/effect/src/eventlog/EventLogMessage.ts:220
↓ 337 callersMethodadd
* Add one or more procedures to the group.
packages/effect/src/rpc/RpcGroup.ts:48
↓ 336 callersMethodencode
(value: unknown)
packages/effect/src/encoding/SchemaBinary.ts:462
↓ 330 callersMethodresolve
* Resolves the oldest running Command matching `target` with the result it * would have produced, and sends the message. * * **Details** *
packages/effect/src/ui/testing/Steps.ts:486
↓ 328 callersFunctionexpect
(locator: Locator.Locator)
packages/effect/test/ui/Play.test.ts:392
↓ 314 callersMethoddecode
(bytes: Uint8Array)
packages/effect/src/encoding/Xml.ts:2310
↓ 307 callersMethodclose
()
packages/effect/src/PubSub.ts:150
↓ 291 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:674
↓ 286 callersFunctiondescribe
( fields: ReadonlyArray<PgProtocol.FieldDescription>, registry: PgTypes.Registry | undefined, textResult
packages/sql/pg/src/PgConnection.ts:2026
↓ 286 callersMethodtoLayer
* Converts a toolkit into a `Layer` containing handlers for each tool in the * toolkit.
packages/effect/src/ai/Toolkit.ts:104
↓ 285 callersMethodparse
( input: ReadonlyArray<unknown>, options: ParseOptions )
packages/effect/src/SchemaAST.ts:2445
↓ 284 callersMethodawait
(this: Entry<A, E>, fiber?: Fiber.Fiber<unknown, unknown>)
packages/effect/src/Cache.ts:149
↓ 282 callersMethodget
The one element matching `locator` in the current view. Throws when there's none or several.
packages/effect/src/ui/testing/Scene.ts:230
↓ 277 callersMethodoptional
(expression: string)
packages/tools/graphql-generator/src/internal/Emitter.ts:998
↓ 264 callersMethodclass
* Appends class tokens to the `class` attribute. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:2025
↓ 262 callersFunctionf
(event: PopStateEvent)
packages/effect/src/ui/html/BrowserRouter.ts:541
↓ 261 callersMethodtext
A text node. The only way to put text in a native view.
packages/effect/src/ui/View.ts:2090
↓ 260 callersMethodall
Every element matching `locator` in the current view, in document order.
packages/effect/src/ui/testing/Scene.ts:234
↓ 248 callersMethodsend
* Sends `message` to the nearest instance of `provider` above this one, as * this `update` applies, before its emits are delivered. `provider` is a
packages/effect/src/ui/Component.ts:918
↓ 245 callersMethodchildren
(...inputs: ReadonlyArray<View.Input<Msg, unknown>>)
packages/effect/test/ui/fixtures/vocabulary.ts:44
↓ 241 callersMethodtrim
* A statement still being parsed cannot be closed yet: its `Parse` may not * have reached the socket. Let the cache exceed its bound temporarily, t
packages/sql/pg/src/PgConnection.ts:1516
↓ 237 callersMethodaddFinalizer
(this: AtomContext, f: () => void)
packages/effect/src/reactivity/Atom.ts:184
↓ 231 callersMethodassign
(target: Table, keys: ReadonlyArray<string>, value: unknown)
packages/effect/src/encoding/Toml.ts:165
↓ 221 callersMethodexit
(saved: number)
packages/effect/src/encoding/SchemaBinary.ts:1766
↓ 219 callersMethodreplace
(a: A, _: S)
packages/effect/src/Optic.ts:1146
↓ 218 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:152
↓ 211 callersMethodchildren
(...inputs: ReadonlyArray<View.Input<Msg, unknown>>)
packages/effect/src/ui/html/Html.ts:1525
↓ 208 callersMethodevolve
* Changes some fields of the Model and keeps the rest. Each field takes * its new value, or a function from its old value to the new one, with the
packages/effect/src/ui/Component.ts:869
↓ 207 callersMethodof
(this: void, self: Shape)
packages/effect/src/Context.ts:105
↓ 201 callersMethodflip
@internal
packages/effect/src/SchemaAST.ts:3713
↓ 198 callersMethodinterrupt
* Creates a terminal reply context that interrupts the supplied request. * * @stability unstable * @since 4.0.0
packages/effect/src/cluster/Reply.ts:123
↓ 198 callersMethodmerge
* Merge this group with one or more other groups.
packages/effect/src/rpc/RpcGroup.ts:55
↓ 192 callersMethodtake
()
packages/effect/src/PubSub.ts:147
↓ 183 callersMethodwrite
(event: AnyEvent)
packages/effect/src/encoding/Sse.ts:515
↓ 182 callersFunctionNumber
(name?: string)
packages/effect/src/Config.ts:1042
↓ 177 callersMethodlog
(options: Options<Message>)
packages/effect/src/Logger.ts:73
↓ 174 callersMethodremove
(node: Node)
packages/effect/src/ui/Renderer.ts:261
↓ 169 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:109
↓ 169 callersMethodkey
* Focuses on a property of the current struct/tuple focus. * * **Details** * * - On a {@link Lens}, returns a Lens. * - On an {@link Op
packages/effect/src/Optic.ts:533
↓ 165 callersMethodemit
Reports to the parent.
packages/effect/src/ui/Component.ts:890
↓ 163 callersMethodclear
()
packages/effect/src/Console.ts:29
↓ 160 callersMethoduse
(f: (service: Shape) => Effect<A, E, R>)
packages/effect/src/Context.ts:107
↓ 149 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:600
↓ 149 callersMethodcontext
(self: Shape)
packages/effect/src/Context.ts:106
↓ 147 callersMethodmount
(this: AtomContext, atom: Atom<A>)
packages/effect/src/reactivity/Atom.ts:185
↓ 146 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:83
↓ 146 callersMethodupdate
* A slice for one tag: `msg` is that tag's member, and so is the message * `$.combine` takes functions over. The slice returned takes any `$`, so
packages/effect/src/ui/Component.ts:2916
↓ 142 callersMethodreplace
(route: Route)
packages/effect/src/http/FindMyWay/internal/router.ts:582
↓ 140 callersMethodtoString
()
packages/effect/src/SchemaAST.ts:694
↓ 138 callersMethodequals
(value: A, next: A)
packages/effect/src/reactivity/Atom.ts:75
↓ 137 callersMethodexec
(sql: string, ...params: ReadonlyArray<unknown>)
packages/sql/sqlite-do/test/Client.test.ts:41
↓ 135 callersFunctionassert
(condition: boolean, ...args: ReadonlyArray<any>)
packages/effect/src/Console.ts:146
↓ 132 callersMethoddefine
* Registers a binding's declaration fragments and eager initialization dependencies.
packages/effect/src/Codegen.ts:487
↓ 132 callersMethodpost
( content: { readonly markdown?: string readonly replyTo?: ReplyTo readonly files?: Read
packages/effect/src/chat/ChatTest.ts:1526
↓ 132 callersMethodtransform
(to: L2)
packages/effect/src/Schema.ts:2721
↓ 131 callersMethodbuild
@internal
packages/effect/src/Layer.ts:58
↓ 131 callersFunctionhasProperty
(self: unknown, property: P)
packages/effect/src/internal/predicate.ts:9
↓ 130 callersFunctionString
(name: string)
packages/effect/src/cli/Flag.ts:62
↓ 130 callersMethoddecodeUnknownSync
()
packages/effect/test/schema/Schema.test.ts:11197
↓ 126 callersMethodclick
* Clicks the one element `target` matches: the innermost element with a * `click` handler, that element or an ancestor, gets it. A string means
packages/effect/src/ui/testing/Play.ts:136
↓ 123 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:566
↓ 122 callersMethodannotate
* Add an annotation on the rpc.
packages/effect/src/rpc/Rpc.ts:164
↓ 122 callersMethodat
* Focuses on a key only if it exists (`Object.hasOwn`). Both * `getResult` and `replaceResult` fail when the key is absent. * * **Details**
packages/effect/src/Optic.ts:713
↓ 121 callersMethodofferUnsafe
(elements: Iterable<A>, deferred: Deferred.Deferred<boolean>)
packages/effect/src/PubSub.ts:2665
↓ 119 callersMethodsync
()
packages/platform/deno/src/DenoFileSystem.ts:209
↓ 117 callersMethodroot
()
packages/effect/src/ui/internal/scene.ts:505
↓ 115 callersMethodfocus
Sends `focus` as the keyboard would, with `focusVisible` true.
packages/effect/src/ui/html/testing/HtmlScene.ts:244
↓ 113 callersFunctionresume
(mode: WorkflowStorage.WakeMode = "explicit")
packages/platform/cloudflare/src/internal/workflowRuntime.ts:335
↓ 111 callersMethodattrs
* Sets several attributes; `undefined` removes one. A key outside the * tag's attributes fails, unless `attributes` is a `Record<string, string>`.
packages/effect/src/ui/html/Html.ts:2008
↓ 105 callersFunctionfixture
(name: string)
packages/effect/runtimeperf/suites/compiler-rebuild/fixtures/cases.ts:121
↓ 105 callersMethodtoString
(encoding: string)
packages/effect/src/internal/base64.ts:52
↓ 104 callersMethodtoCodecJson
@internal
packages/effect/src/SchemaAST.ts:1030
↓ 103 callersMethodcreateElement
( tag: string, props: Readonly<Record<string, unknown>>, parent?: Node | undefined )
packages/effect/src/ui/Renderer.ts:240
next →1–100 of 24,750, ranked by callers