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
↓ 102 callers
Function
Number
(options: NumberOptions)
packages/effect/src/cli/Prompt.ts:1111
↓ 102 callers
Method
fill
(text: string)
packages/tools/graphql-generator/src/internal/Emitter.ts:1120
↓ 101 callers
Method
el
* Any host element by name, with untyped event payloads. What host-neutral * code uses: `h.el("x-foo").attr("a", "b").children(...)`.
packages/effect/src/ui/View.ts:2108
↓ 100 callers
Method
fire
* Sends `event` with `payload`, `{}` by default, to the one element * `locator` matches: the innermost element with a handler for it, that * ele
packages/effect/src/ui/testing/Play.ts:142
↓ 99 callers
Method
abort
()
packages/effect/src/SchemaAST.ts:4105
↓ 98 callers
Function
deepStrictEqual
(actual: A, expected: A, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:17
↓ 97 callers
Method
value
(value: string)
packages/effect/test/ui/fixtures/vocabulary.ts:23
↓ 96 callers
Method
pollUnsafe
()
packages/effect/src/internal/effect.ts:635
↓ 96 callers
Function
strictEqual
(actual: A, expected: A, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:33
↓ 93 callers
Method
attrs
(attributes: Html.Attributes)
packages/effect/src/ui/kit/internal/attributes.ts:65
↓ 92 callers
Method
call
(effect: Effect.Effect<A, ChatError>)
packages/effect/src/chat/ChatTest.ts:1501
↓ 92 callers
Method
model
()
packages/effect/src/ui/testing/Story.ts:373
↓ 91 callers
Method
destroy
()
packages/effect/src/crypto/internal/chacha.ts:760
↓ 89 callers
Method
sync
()
packages/platform/node-shared/src/NodeFileSystem.ts:358
↓ 87 callers
Method
execute
( sql: string, params: ReadonlyArray<unknown>, transformRows: (<A extends object>(row: ReadonlyArr
packages/sql/pg/src/PgClient.ts:456
↓ 87 callers
Function
resume
(exit)
packages/effect/src/rpc/RpcClient.ts:399
↓ 85 callers
Method
append
(key: string, value: any)
packages/ui/native/src/internal/networking.ts:151
↓ 85 callers
Method
onMount
(mount: Mount<Msg>)
packages/effect/src/ui/View.ts:1717
↓ 84 callers
Function
assertTrue
(self: unknown, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:71
↓ 83 callers
Function
pipe
()
packages/effect/src/Sink.ts:191
↓ 82 callers
Method
getRef
(ref: Context.Reference<X>)
packages/effect/src/internal/effect.ts:595
↓ 82 callers
Function
pipeArguments
(self: A, args: IArguments)
packages/effect/src/Pipeable.ts:567
↓ 81 callers
Method
currentTimeMillisUnsafe
* 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:69
↓ 81 callers
Method
string
(s: string)
packages/effect/src/encoding/SchemaBinary.ts:1510
↓ 79 callers
Method
schema
* Builds a chunk schema from the streaming success schema of an RPC. * * @stability unstable * @since 4.0.0
packages/effect/src/cluster/Reply.ts:242
↓ 79 callers
Method
useSync
(f: (service: Shape) => A)
packages/effect/src/Context.ts:108
↓ 78 callers
Method
children
(...inputs: ReadonlyArray<View.Input<Msg, unknown>>)
packages/ui/native/src/Native.ts:1751
↓ 78 callers
Method
end
(endTime: bigint, exit: Exit.Exit<unknown, unknown>)
packages/effect/src/Tracer.ts:414
↓ 75 callers
Method
query
The one element matching `locator` in the current view, or `undefined`. Throws when there are several.
packages/effect/src/ui/testing/Scene.ts:232
↓ 74 callers
Method
openUnsafe
* 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:71
↓ 73 callers
Method
addEventListener
(name: string, listener: (event?: Event) => void)
packages/effect/src/ui/internal/queryCore.ts:182
↓ 72 callers
Method
addEventListener
( event: string, f: (event: A) => void, options?: { readonly capture?: boolean readonl
packages/effect/src/Stream.ts:1469
↓ 72 callers
Method
interruptUnsafe
(fiberId?: number | undefined, annotations?: Context.Context<never> | undefined)
packages/effect/src/internal/effect.ts:613
↓ 72 callers
Method
value
* Sets the text. An edit native has made since is replaced. * * @since 4.2.0
packages/ui/native/src/Native.ts:1891
↓ 71 callers
Method
disabled
( this: Undeclared<P, "disabled">, disabled: boolean )
packages/effect/src/ui/html/Html.ts:2367
↓ 71 callers
Method
get
(key: unknown)
packages/effect/src/internal/request.ts:81
↓ 71 callers
Method
middleware
* Add an `RpcMiddleware` to this procedure.
packages/effect/src/rpc/Rpc.ts:140
↓ 70 callers
Method
combine
(first: Patch, second: Patch)
packages/effect/src/Differ.ts:32
↓ 70 callers
Method
expect
Asserts on the elements `locator` matches, once the tree has settled.
packages/effect/src/ui/testing/Play.ts:188
↓ 69 callers
Method
part
* A part for one tag, or for any of a list of tags. `decorate` gets an * empty builder of the tag the consumer used, bound to this component's *
packages/effect/src/ui/Component.ts:1920
↓ 69 callers
Function
restore
()
packages/effect/src/ui/kit/Menu.ts:1623
↓ 69 callers
Method
retry
* The retry value of this reason, fixed per reason. * * @since 4.1.5
packages/effect/src/chat/ChatError.ts:517
↓ 68 callers
Function
flag
(on: boolean | undefined)
packages/effect/src/ui/kit/internal/attributes.ts:5
↓ 68 callers
Method
of
* A helper method which can be used for type-safe handler declarations.
packages/effect/src/ai/Toolkit.ts:90
↓ 68 callers
Method
offer
(a: A)
packages/effect/src/PubSub.ts:2951
↓ 68 callers
Method
parse
(final: boolean)
packages/effect/src/encoding/Xml.ts:1550
↓ 68 callers
Method
stream
(this: AtomContext, atom: Atom<A>, options?: { readonly withoutInitialValue?: boolean readonly bufferS
packages/effect/src/reactivity/Atom.ts:194
↓ 67 callers
Method
style
* Sets inline CSS. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:2031
↓ 67 callers
Method
subscription
* Delivers a message from an active Subscription, using the key reported by * subscriptions. Throws for inactive keys and query watch keys, listing
packages/effect/src/ui/testing/Steps.ts:352
↓ 66 callers
Method
set
(key: unknown, batch: Batch)
packages/effect/src/internal/request.ts:83
↓ 65 callers
Method
encodeSync
()
packages/effect/typetest/schema/Schema.tst.ts:2211
↓ 65 callers
Method
forward
(place: Forward)
packages/effect/src/ui/View.ts:1780
↓ 64 callers
Method
evaluate
(input: unknown, ...args: Array<any>)
packages/effect/src/Match.ts:325
↓ 63 callers
Method
addObserver
(cb: (exit: Exit.Exit<A, E>) => void)
packages/effect/src/internal/effect.ts:598
↓ 63 callers
Method
appendChild
(parent: unknown, child: unknown)
packages/ui/native/src/NativeHost.ts:47
↓ 63 callers
Method
close
(code?: number, reason?: string)
packages/effect/src/socket/Socket.ts:806
↓ 63 callers
Method
error
(...args: ReadonlyArray<any>)
packages/effect/src/Console.ts:35
↓ 63 callers
Method
parts
* Checks a headless component's parts, the plain values a consumer's * closure reads, for the current Model and props. `f` throws to fail the *
packages/effect/src/ui/testing/Scene.ts:420
↓ 63 callers
Method
ref
()
packages/platform/node-shared/src/internal/proxyProcess.ts:37
↓ 62 callers
Method
once
(this: AtomContext, atom: Atom<A>)
packages/effect/src/reactivity/Atom.ts:183
↓ 62 callers
Method
span
(this: Tracer, options: { readonly name: string readonly parent: Option.Option<AnySpan> readonly a
packages/effect/src/Tracer.ts:32
↓ 61 callers
Method
onExit
(code: number | null, signal: NodeJS.Signals | null)
packages/platform/node-shared/src/internal/proxyProcess.ts:129
↓ 60 callers
Method
exec
(query: string, ...bindings: Array<unknown>)
packages/platform/cloudflare/test/Singleton.test.ts:19
↓ 60 callers
Method
title
* Sets the title of a `box` or `scrollbox`. * * @since 4.2.0
packages/ui/opentui/src/OpenTui.ts:597
↓ 58 callers
Method
getUnsafe
The resolved value, while its entry is attached and the map is open.
packages/effect/src/cluster/internal/resourceMap.ts:63
↓ 58 callers
Method
props
* Changes the props, skipping equal values. If `onPropsChange` returns a * message, sends it to `update` and records a message step.
packages/effect/src/ui/testing/Steps.ts:462
↓ 57 callers
Function
byId
(id: string, doc = document)
packages/effect/test/ui/kit/utils/document.ts:34
↓ 57 callers
Function
describe
(element: TestHost.TestElement)
packages/ui/opentui/src/testing/OpenTuiPlay.ts:245
↓ 57 callers
Method
done
()
packages/effect/src/SchemaAST.ts:3142
↓ 57 callers
Method
group
(...args: ReadonlyArray<any>)
packages/effect/src/Console.ts:36
↓ 55 callers
Method
compile
( statement: Fragment, withoutTransform?: boolean, placeholderOverride?: (u: unknown) => string
packages/effect/src/sql/Statement.ts:958
↓ 55 callers
Method
fork
* Starts a length-delimited value, such as a nested message or a packed * repeated field, after its tag. {@link ProtobufWriter.join} ends it. *
packages/effect/src/protobuf/ProtobufWriter.ts:142
↓ 55 callers
Method
handle
* Add the implementation for an `Event` to a `Handlers` group.
packages/effect/src/eventlog/EventLog.ts:440
↓ 55 callers
Method
name
(step: string)
packages/effect/src/ui/internal/play.ts:59
↓ 54 callers
Method
getBoundingClientRect
( node: unknown, includeTransform: boolean )
packages/ui/native/src/NativeHost.ts:59
↓ 54 callers
Function
optional
( schema: S )
packages/effect/src/ai/McpSchema.ts:87
↓ 54 callers
Method
size
()
packages/effect/src/PubSub.ts:101
↓ 53 callers
Method
getTime
()
packages/effect/test/ui/QueryRuns.test.ts:899
↓ 53 callers
Method
read
(size?: number)
packages/platform/node/src/NodeMultipartParser.ts:62
↓ 53 callers
Method
resume
()
packages/effect/src/socket/Socket.ts:926
↓ 52 callers
Method
attr
( name: Name extends `aria-${string}` ? keyof Html.AriaAttributes : Name, value: Html.Attributes[Name]
packages/effect/src/ui/kit/internal/attributes.ts:61
↓ 52 callers
Method
get
(this: AtomContext, atom: Atom<A>)
packages/effect/src/reactivity/Atom.ts:176
↓ 52 callers
Function
predicate
(a: number)
packages/effect/test/Option.test.ts:392
↓ 51 callers
Function
callback
( f: (queue: Queue.Queue<A, E | Cause.Done>) => Effect.Effect<unknown, E, R | Scope.Scope>, options?: {
packages/effect/src/Stream.ts:774
↓ 51 callers
Method
listen
( handlers: Readonly<Record<string, View.Handler<unknown, any>>>, options: Readonly<Record<string, Vie
packages/effect/src/ui/Renderer.ts:116
↓ 51 callers
Method
value
* The controlled `value` of an `input`, `textarea` or `select`. The element * always shows it, whatever the user types, until the Model changes.
packages/effect/src/ui/html/Html.ts:1240
↓ 50 callers
Method
next
( ...args: ReadonlyArray<any> )
packages/effect/src/Effect.ts:280
↓ 50 callers
Method
setAttribute
(key: string, value: string | number | boolean)
packages/platform/cloudflare/test/CloudflareTracer.test.ts:64
↓ 49 callers
Method
declare
* Allocates a declaration binding, sanitizing and disambiguating its preferred name. * * **Details** * * Exact names throw when invalid or
packages/effect/src/Codegen.ts:456
↓ 49 callers
Function
throws
(thunk: () => void, error?: string | Error | ((u: unknown) => undefined), ..._: Array<never>)
packages/effect/test/utils/assert.ts:104
↓ 48 callers
Method
on
(event: string, listener: (...args: Array<any>) => void)
packages/platform/node-shared/src/internal/nodeChildProcessSpawner.ts:29
↓ 48 callers
Method
toJSON
()
packages/effect/src/Inspectable.ts:132
↓ 47 callers
Method
on
(event: "field", listener: (field: Field) => void)
packages/platform/node/src/NodeMultipartParser.ts:47
↓ 47 callers
Method
onError
Fails the spawn, unless the handle has already been published.
packages/platform/node-shared/src/internal/proxyProcess.ts:142
↓ 46 callers
Method
step
* Creates an interaction that settles before and after `body`. `name` * must match the calling Play method so failures point to the test. * A ba
packages/effect/src/ui/testing/Play.ts:356
↓ 46 callers
Method
subscribe
()
packages/effect/src/PubSub.ts:105
↓ 44 callers
Method
invalidate
* Marks one entry, or every entry of the query when called without * arguments, stale. A watched entry refetches at once, a fetch in flight is *
packages/effect/src/ui/Query.ts:293
↓ 44 callers
Method
report
(options: { readonly cause: Cause.Cause<unknown> readonly fiber: Fiber.Fiber<unknown, unknown> rea
packages/effect/src/ErrorReporter.ts:82
↓ 43 callers
Function
assertFalse
(self: boolean, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:75
↓ 43 callers
Function
f
()
packages/effect/test/Equal.test.ts:1427
← previous
next →
101–200 of 24,750, ranked by callers