Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ functions
Functions
24,750 in github.com/Effect-TS/effect
⨍
Functions
24,750
◇
Types & classes
10,048
↓ 2,873 callers
Method
map
(f: (a: B) => C)
packages/effect/src/reactivity/AtomRef.ts:232
↓ 2,690 callers
Method
pipe
(this: A)
packages/effect/src/Pipeable.ts:47
↓ 2,381 callers
Method
make
Issues the Command.
packages/effect/src/ui/Command.ts:787
↓ 2,114 callers
Method
get
* 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 callers
Method
push
(input: In)
packages/effect/src/encoding/Xml.ts:921
↓ 1,881 callers
Method
succeed
(input: S["~type.make.in"], expected?: S["Type"])
packages/effect/src/testing/TestSchema.ts:213
↓ 1,246 callers
Method
set
A write of a run's result into one entry, for a Command's `writes`.
packages/effect/src/ui/Query.ts:339
↓ 1,149 callers
Method
fail
* 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 callers
Method
join
()
packages/effect/src/encoding/Zip.ts:1060
↓ 1,036 callers
Method
provide
(context: Context.Context<never>)
packages/effect/src/ui/Query.ts:574
↓ 981 callers
Method
slice
(start?: number, end?: number)
packages/effect/test/Stream.test.ts:3944
↓ 913 callers
Method
sync
()
packages/effect/src/PubSub.ts:3002
↓ 871 callers
Method
has
(key: unknown)
packages/effect/src/internal/request.ts:82
↓ 825 callers
Function
describe
()
packages/effect/test/ai/McpServer/TestUtils/McpHeldScheduler.ts:15
↓ 785 callers
Method
filter
* Separates SSE retry directives from regular event values. * * @stability unstable * @since 4.0.0
packages/effect/src/encoding/Sse.ts:651
↓ 750 callers
Method
from
(buffer: ArrayBufferLike, byteOffset?: number, length?: number)
packages/effect/src/internal/base64.ts:56
↓ 743 callers
Method
some
(this: AtomContext, atom: Atom<Option.Option<A>>)
packages/effect/src/reactivity/Atom.ts:192
↓ 513 callers
Method
layer
()
packages/platform/cloudflare/test/CloudflarePersistedQueue.test.ts:93
↓ 507 callers
Method
delete
(key: unknown)
packages/effect/src/internal/request.ts:84
↓ 463 callers
Function
String
(name?: string)
packages/effect/src/Config.ts:997
↓ 459 callers
Method
find
* 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 callers
Method
add
(_case: Case)
packages/effect/src/Match.ts:179
↓ 400 callers
Method
on
* Sends a message when `event` fires, as `View.ElementBuilder.on` does. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:1988
↓ 373 callers
Method
forEach
* 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 callers
Method
run
* 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 callers
Method
attr
* Sets one attribute; `undefined` removes it. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:1998
↓ 355 callers
Method
keys
The keys it binds, read once, as `keys` can be an iterator.
packages/effect/src/ui/internal/boundRun.ts:81
↓ 339 callers
Method
split
* Splits binary event-log message data into numbered chunks. * * @stability unstable * @since 4.0.0
packages/effect/src/eventlog/EventLogMessage.ts:220
↓ 337 callers
Method
add
* Add one or more procedures to the group.
packages/effect/src/rpc/RpcGroup.ts:48
↓ 336 callers
Method
encode
(value: unknown)
packages/effect/src/encoding/SchemaBinary.ts:462
↓ 330 callers
Method
resolve
* 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 callers
Function
expect
(locator: Locator.Locator)
packages/effect/test/ui/Play.test.ts:392
↓ 314 callers
Method
decode
(bytes: Uint8Array)
packages/effect/src/encoding/Xml.ts:2310
↓ 307 callers
Method
close
()
packages/effect/src/PubSub.ts:150
↓ 291 callers
Method
tag
* 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 callers
Function
describe
( fields: ReadonlyArray<PgProtocol.FieldDescription>, registry: PgTypes.Registry | undefined, textResult
packages/sql/pg/src/PgConnection.ts:2026
↓ 286 callers
Method
toLayer
* Converts a toolkit into a `Layer` containing handlers for each tool in the * toolkit.
packages/effect/src/ai/Toolkit.ts:104
↓ 285 callers
Method
parse
( input: ReadonlyArray<unknown>, options: ParseOptions )
packages/effect/src/SchemaAST.ts:2445
↓ 284 callers
Method
await
(this: Entry<A, E>, fiber?: Fiber.Fiber<unknown, unknown>)
packages/effect/src/Cache.ts:149
↓ 282 callers
Method
get
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 callers
Method
optional
(expression: string)
packages/tools/graphql-generator/src/internal/Emitter.ts:998
↓ 264 callers
Method
class
* Appends class tokens to the `class` attribute. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:2025
↓ 262 callers
Function
f
(event: PopStateEvent)
packages/effect/src/ui/html/BrowserRouter.ts:541
↓ 261 callers
Method
text
A text node. The only way to put text in a native view.
packages/effect/src/ui/View.ts:2090
↓ 260 callers
Method
all
Every element matching `locator` in the current view, in document order.
packages/effect/src/ui/testing/Scene.ts:234
↓ 248 callers
Method
send
* 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 callers
Method
children
(...inputs: ReadonlyArray<View.Input<Msg, unknown>>)
packages/effect/test/ui/fixtures/vocabulary.ts:44
↓ 241 callers
Method
trim
* 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 callers
Method
addFinalizer
(this: AtomContext, f: () => void)
packages/effect/src/reactivity/Atom.ts:184
↓ 231 callers
Method
assign
(target: Table, keys: ReadonlyArray<string>, value: unknown)
packages/effect/src/encoding/Toml.ts:165
↓ 221 callers
Method
exit
(saved: number)
packages/effect/src/encoding/SchemaBinary.ts:1766
↓ 219 callers
Method
replace
(a: A, _: S)
packages/effect/src/Optic.ts:1146
↓ 218 callers
Method
sleep
* 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 callers
Method
children
(...inputs: ReadonlyArray<View.Input<Msg, unknown>>)
packages/effect/src/ui/html/Html.ts:1525
↓ 208 callers
Method
evolve
* 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 callers
Method
of
(this: void, self: Shape)
packages/effect/src/Context.ts:105
↓ 201 callers
Method
flip
@internal
packages/effect/src/SchemaAST.ts:3713
↓ 198 callers
Method
interrupt
* Creates a terminal reply context that interrupts the supplied request. * * @stability unstable * @since 4.0.0
packages/effect/src/cluster/Reply.ts:123
↓ 198 callers
Method
merge
* Merge this group with one or more other groups.
packages/effect/src/rpc/RpcGroup.ts:55
↓ 192 callers
Method
take
()
packages/effect/src/PubSub.ts:147
↓ 183 callers
Method
write
(event: AnyEvent)
packages/effect/src/encoding/Sse.ts:515
↓ 182 callers
Function
Number
(name?: string)
packages/effect/src/Config.ts:1042
↓ 177 callers
Method
log
(options: Options<Message>)
packages/effect/src/Logger.ts:73
↓ 174 callers
Method
remove
(node: Node)
packages/effect/src/ui/Renderer.ts:261
↓ 169 callers
Method
adjust
* 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 callers
Method
key
* 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 callers
Method
emit
Reports to the parent.
packages/effect/src/ui/Component.ts:890
↓ 163 callers
Method
clear
()
packages/effect/src/Console.ts:29
↓ 160 callers
Method
use
(f: (service: Shape) => Effect<A, E, R>)
packages/effect/src/Context.ts:107
↓ 149 callers
Method
check
* 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 callers
Method
context
(self: Shape)
packages/effect/src/Context.ts:106
↓ 147 callers
Method
mount
(this: AtomContext, atom: Atom<A>)
packages/effect/src/reactivity/Atom.ts:185
↓ 146 callers
Method
is
* 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 callers
Method
update
* 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 callers
Method
replace
(route: Route)
packages/effect/src/http/FindMyWay/internal/router.ts:582
↓ 140 callers
Method
toString
()
packages/effect/src/SchemaAST.ts:694
↓ 138 callers
Method
equals
(value: A, next: A)
packages/effect/src/reactivity/Atom.ts:75
↓ 137 callers
Method
exec
(sql: string, ...params: ReadonlyArray<unknown>)
packages/sql/sqlite-do/test/Client.test.ts:41
↓ 135 callers
Function
assert
(condition: boolean, ...args: ReadonlyArray<any>)
packages/effect/src/Console.ts:146
↓ 132 callers
Method
define
* Registers a binding's declaration fragments and eager initialization dependencies.
packages/effect/src/Codegen.ts:487
↓ 132 callers
Method
post
( content: { readonly markdown?: string readonly replyTo?: ReplyTo readonly files?: Read
packages/effect/src/chat/ChatTest.ts:1526
↓ 132 callers
Method
transform
(to: L2)
packages/effect/src/Schema.ts:2721
↓ 131 callers
Method
build
@internal
packages/effect/src/Layer.ts:58
↓ 131 callers
Function
hasProperty
(self: unknown, property: P)
packages/effect/src/internal/predicate.ts:9
↓ 130 callers
Function
String
(name: string)
packages/effect/src/cli/Flag.ts:62
↓ 130 callers
Method
decodeUnknownSync
()
packages/effect/test/schema/Schema.test.ts:11197
↓ 126 callers
Method
click
* 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 callers
Method
optionalKey
* 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 callers
Method
annotate
* Add an annotation on the rpc.
packages/effect/src/rpc/Rpc.ts:164
↓ 122 callers
Method
at
* 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 callers
Method
offerUnsafe
(elements: Iterable<A>, deferred: Deferred.Deferred<boolean>)
packages/effect/src/PubSub.ts:2665
↓ 119 callers
Method
sync
()
packages/platform/deno/src/DenoFileSystem.ts:209
↓ 117 callers
Method
root
()
packages/effect/src/ui/internal/scene.ts:505
↓ 115 callers
Method
focus
Sends `focus` as the keyboard would, with `focusVisible` true.
packages/effect/src/ui/html/testing/HtmlScene.ts:244
↓ 113 callers
Function
resume
(mode: WorkflowStorage.WakeMode = "explicit")
packages/platform/cloudflare/src/internal/workflowRuntime.ts:335
↓ 111 callers
Method
attrs
* 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 callers
Function
fixture
(name: string)
packages/effect/runtimeperf/suites/compiler-rebuild/fixtures/cases.ts:121
↓ 105 callers
Method
toString
(encoding: string)
packages/effect/src/internal/base64.ts:52
↓ 104 callers
Method
toCodecJson
@internal
packages/effect/src/SchemaAST.ts:1030
↓ 103 callers
Method
createElement
( 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