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
↓ 43 callers
Method
modify
* 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:511
↓ 42 callers
Method
blur
Sends `blur`.
packages/effect/src/ui/html/testing/HtmlScene.ts:246
↓ 42 callers
Function
describe
(text: string | undefined)
packages/ai/amazon-bedrock/src/internal/errors.ts:160
↓ 42 callers
Method
init
An init function, with the definition's Model, message, events and props.
packages/effect/src/ui/Component.ts:2907
↓ 42 callers
Method
prop
* Sets a native prop, or removes it with `undefined`. * * @since 4.2.0
packages/ui/native/src/Native.ts:1706
↓ 42 callers
Method
result
* Constructs a branded type from a value of type `Unbranded<B>`, returning * `Success<B>` if the provided value is valid, `Failure<BrandError>`
packages/effect/src/Brand.ts:78
↓ 41 callers
Method
check
Checks the whole record, as the kind of test records it. `f` throws to fail the test.
packages/effect/src/ui/testing/Steps.ts:618
↓ 41 callers
Method
closeUnsafe
* Closes the latch synchronously so future waiters suspend again. * * **When to use** * * Use when synchronous code must close the latch i
packages/effect/src/Latch.ts:107
↓ 41 callers
Method
set
(this: AtomContext, atom: Writable<R, W>, value: W)
packages/effect/src/reactivity/Atom.ts:190
↓ 40 callers
Method
changes
* Watches an entry: loads it if it's cold or stale and nothing else watches * it, then emits every change. The Stream starts with the current state
packages/effect/src/ui/Query.ts:300
↓ 40 callers
Method
child
* Declares a headless child that this component owns, and turns the * child's parts into the ones the consumer gets. `parts` returns it in * pla
packages/effect/src/ui/Component.ts:2020
↓ 40 callers
Method
emitted
* Acknowledges the oldest events no step acknowledged yet, after asserting * they are `events`, in order. Events compare with the component's *
packages/effect/src/ui/testing/Steps.ts:592
↓ 40 callers
Method
toHaveText
* Asserts that exactly one element matches and that its text, with * whitespace collapsed and trimmed, is `text`, or matches it.
packages/effect/src/ui/testing/Scene.ts:168
↓ 40 callers
Method
view
A view, to pass as `view` or call from another view.
packages/effect/src/ui/Component.ts:2961
↓ 39 callers
Method
decodeText
(raw: string, offset: number, attribute: boolean, whitespace: boolean)
packages/effect/src/encoding/Xml.ts:1637
↓ 39 callers
Method
dispose
()
packages/effect/src/reactivity/AtomRegistry.ts:674
↓ 39 callers
Function
fail
(message: string)
packages/sql/pg/src/PgTypes.ts:60
↓ 39 callers
Function
make
(value: A)
packages/effect/src/Ref.ts:178
↓ 39 callers
Method
reject
(message: string, address?: NetAddress.InetAddress)
packages/effect/src/socket/DatagramSocket.ts:849
↓ 39 callers
Method
start
(run: Run)
packages/effect/src/ui/internal/commandRun.ts:170
↓ 39 callers
Method
toJSON
()
packages/effect/src/internal/graph.ts:32
↓ 38 callers
Method
cancel
()
packages/sql/mssql/test/Client.test.ts:94
↓ 38 callers
Method
decodeEffect
()
packages/effect/src/internal/schema/compilerRegistry.ts:125
↓ 38 callers
Method
interrupt
@internal Interrupts a handler execution and completes its persisted ask, if any.
packages/platform/cloudflare/src/CloudflareDurableObjects.ts:225
↓ 38 callers
Method
toExist
Asserts that at least one element matches.
packages/effect/src/ui/testing/Scene.ts:161
↓ 37 callers
Method
add
* Add a `HttpApiGroup` to the `HttpApi`.
packages/effect/src/http-api/HttpApi.ts:73
↓ 37 callers
Method
combine
* Runs update functions one after another, each with the message this * `update` received. * * **Details** * * It takes functions over
packages/effect/src/ui/Component.ts:1095
↓ 37 callers
Method
digest
()
packages/effect/src/crypto/internal/md5.ts:147
↓ 37 callers
Method
format
(route: Route)
packages/tools/openapi-generator/src/HttpApiTransformer.ts:55
↓ 37 callers
Method
isDone
* Whether every byte of the message being read has been read. * * @since 4.1.5
packages/effect/src/protobuf/ProtobufReader.ts:195
↓ 37 callers
Method
loc
(startToken: Token)
packages/tools/graphql-generator/src/internal/Parser.ts:705
↓ 37 callers
Method
validate
()
packages/tools/graphql-generator/src/internal/Validate.ts:285
↓ 36 callers
Method
expectMount
* Asserts, once the tree has settled, that exactly one live mount is * `mount`: the same definition, with the args the view last rendered * equa
packages/effect/src/ui/testing/Play.ts:178
↓ 36 callers
Function
find
( nodes: ReadonlyArray<ShadowNode>, test: (n: ShadowNode) => boolean )
packages/ui/native/test/utils/FakeFabric.ts:190
↓ 36 callers
Function
invalid
(expected: string, input?: unknown, options?: SchemaAST.ParseOptions)
packages/effect/src/encoding/SchemaBinary.ts:1260
↓ 36 callers
Function
makeFilter
( filter: (input: T, ast: AST, options: ParseOptions) => Schema.FilterOutput, annotations?: Schema.Annotat
packages/effect/src/SchemaAST.ts:4234
↓ 36 callers
Method
print
* Prints a module's imports, ordered declarations, and appended source as TypeScript.
packages/effect/src/Codegen.ts:666
↓ 36 callers
Method
release
* Releases the specified number of permits and returns the resulting * available permits. * * **When to use** * * Use to manually retur
packages/effect/src/Semaphore.ts:179
↓ 35 callers
Method
connect
( lookup: (path: ReadonlyArray<Node>) => ReadonlyArray<Events | undefined> )
packages/effect/src/ui/Renderer.ts:113
↓ 35 callers
Function
join
()
packages/effect/src/Path.ts:563
↓ 35 callers
Method
mounted
* Settles, sends `result` to the one live mount in the tree matching * `target`, as its body would, then settles again. The message goes to * th
packages/effect/src/ui/testing/Play.ts:160
↓ 35 callers
Method
request
(types: ReadonlyArray<string>)
packages/effect/src/ui/internal/transitionRun.ts:19
↓ 34 callers
Method
array
(owner: JsonObject, key: string, path: string)
packages/tools/graphql-generator/src/internal/IntrospectionReader.ts:204
↓ 34 callers
Function
fromChannel
( channel: Channel.Channel< never, E, End<A, L>, NonEmptyReadonlyArray<In>, never, v
packages/effect/src/Sink.ts:244
↓ 34 callers
Function
handler
()
packages/effect/test/ui/kit/Input.test.ts:80
↓ 34 callers
Method
id
* Sets the `id` attribute. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:2019
↓ 34 callers
Method
removeEventListener
( event: string, f: (event: A) => void, options?: { readonly capture?: boolean } | boole
packages/effect/src/Stream.ts:1479
↓ 34 callers
Method
send
* Sends a message to `update`. An updater is called with the current * Model. A message step.
packages/effect/src/ui/testing/Story.ts:259
↓ 34 callers
Method
takeAll
()
packages/effect/src/PubSub.ts:149
↓ 34 callers
Method
toArray
()
packages/effect/src/reactivity/AtomRef.ts:357
↓ 34 callers
Method
type
* Sets a field's value as typing does: sends `input` with `value`. An * `input` also sends its current `checked`. `details` sets `composing`, *
packages/effect/src/ui/html/testing/HtmlScene.ts:213
↓ 33 callers
Method
annotate
* Annotate the entity with a value.
packages/effect/src/cluster/Entity.ts:105
↓ 33 callers
Function
describe
(steps: ReadonlyArray<Step>, time: number)
examples/ui/launch/src/diagram/Diagram.ts:133
↓ 33 callers
Method
isEmpty
()
packages/effect/src/PubSub.ts:99
↓ 33 callers
Method
kill
(signal?: NodeJS.Signals | number)
packages/platform/node-shared/src/internal/nodeChildProcessSpawner.ts:26
↓ 33 callers
Method
open
* The controlled `open` state of a `details` or `dialog`. On a `dialog` * it shows a non-modal dialog. `open` and `modal` set the same state, and
packages/effect/src/ui/html/Html.ts:1275
↓ 33 callers
Method
uvarint
(n: number)
packages/effect/src/encoding/SchemaBinary.ts:1393
↓ 33 callers
Method
withPermit
* Runs an effect with the given number of permits and releases the permits * when the effect completes. * * **When to use** * * Use to
packages/effect/src/Semaphore.ts:106
↓ 32 callers
Method
disconnect
()
packages/effect/test/ui/kit/utils/document.ts:109
↓ 32 callers
Function
map
(self: HashSet<V>, f: (value: V) => U)
packages/effect/src/internal/hashSet.ts:153
↓ 32 callers
Method
observe
(value: number, timestamp: number)
packages/effect/src/Metric.ts:2030
↓ 32 callers
Function
runFork
(effect: Effect.Effect<A, E, R>, options?: Effect.RunOptions)
packages/effect/src/ManagedRuntime.ts:425
↓ 31 callers
Function
Field
(h: Html.H<M>, options: { readonly label: string readonly children?: C })
packages/effect/typetest/ui/html/Html.tst.ts:70
↓ 31 callers
Function
assertNone
(option: Option.Option<A>, ..._: Array<never>)
packages/effect/test/utils/assert.ts:147
↓ 31 callers
Method
completeUnsafe
( exit: Exit.Exit< [R] extends [Request<infer _A, infer _E, infer _R>] ? _A : never, [R] exten
packages/effect/src/Request.ts:615
↓ 31 callers
Method
expectIgnored
* Acknowledges that the last interaction produced no message. Fails when * it produced one, or when no interaction has run.
packages/effect/src/ui/testing/Play.ts:193
↓ 31 callers
Method
id
* An element id derived from the instance's path, matching server and client. * Use distinct mount `key` options for repeated roots in one document
packages/effect/src/ui/View.ts:2136
↓ 31 callers
Method
json
()
packages/ui/native/src/NativeHttpClient.ts:441
↓ 31 callers
Function
listener
(next: A)
packages/effect/src/ui/Router.ts:2298
↓ 31 callers
Function
reject
( status: number, error?: unknown, id: string | number | null = null
packages/effect/src/ai/internal/mcpRuntime.ts:426
↓ 31 callers
Method
render
( h: View.HelperBase<Msg, unknown>, options: View.Child.Options<Props, Events, NoInfer<Msg>> & {
packages/effect/src/ui/Feature.ts:111
↓ 30 callers
Method
drop
* Drops `payload` on the element `locator` matches, as the browser host * would. Missing payload fields default to empty data, no files and a *
packages/effect/src/ui/html/testing/HtmlScene.ts:260
↓ 30 callers
Method
initial
( workflow: Workflow.Any, executionId: string, options?: { readonly scope?: Scope.Closeable
packages/effect/src/workflow/WorkflowEngine.ts:311
↓ 30 callers
Method
schedule
()
packages/effect/src/ui/internal/mountRun.ts:122
↓ 30 callers
Method
thread
()
packages/effect/src/chat/ChatTest.ts:1437
↓ 29 callers
Method
add
* Add an `Event` to the `EventGroup`.
packages/effect/src/eventlog/EventGroup.ts:68
↓ 29 callers
Method
apply
( root: Locator.Node, plan: ReadonlyArray<defaults.ClickEvent> )
packages/effect/src/ui/html/testing/HtmlScene.ts:515
↓ 29 callers
Function
assertSome
( option: Option.Option<A>, expected: A, ..._: Array<never> )
packages/effect/test/utils/assert.ts:151
↓ 29 callers
Function
errorWithPath
(message: string, path: ReadonlyArray<PropertyKey>)
packages/effect/src/internal/errors.ts:4
↓ 29 callers
Function
flow
(depth: number)
packages/effect/test/encoding/Yaml.test.ts:1100
↓ 29 callers
Method
lazy
* The node `fn` builds from `args`, built again only when an argument * changes. `fn` gets this helper first, then `args`. * * **Details**
packages/effect/src/ui/View.ts:2170
↓ 29 callers
Method
prop
* Writes the property `name` on the element as a JavaScript property, * typed by its Schema or by the element's class. The browser host writes *
packages/effect/src/ui/html/Html.ts:2355
↓ 29 callers
Function
render
(as: ReadonlyArray<string>)
packages/tools/openapi-generator/src/JsonSchemaGenerator.ts:323
↓ 28 callers
Method
attribute
(key: string, value: unknown)
packages/effect/src/Tracer.ts:415
↓ 28 callers
Method
dispatch
(type: EventType, event: Socket.WebSocketEvent)
packages/effect/test/socket/Socket.test.ts:43
↓ 28 callers
Function
frame
(view: Window | null, f: () => void)
packages/effect/src/ui/kit/Drawer.ts:896
↓ 28 callers
Method
load
(this: LoadContext, id: string)
packages/effect/src/ui/html/HtmlServerVite.ts:194
↓ 28 callers
Method
offerAll
(as: Iterable<A>)
packages/effect/src/PubSub.ts:2971
↓ 28 callers
Method
record
(header: Header, flags: number)
packages/effect/src/encoding/Zip.ts:1097
↓ 27 callers
Method
of
(handlers: Handlers)
packages/effect/src/cluster/Entity.ts:181
↓ 27 callers
Function
optional
( schema: S )
packages/effect/src/ai/internal/mcpSchema/v2024_11_05.ts:21
↓ 27 callers
Method
patch
(oldValue: T, patch: Patch)
packages/effect/src/Differ.ts:33
↓ 27 callers
Function
toJson
(input: unknown)
packages/effect/src/Inspectable.ts:158
↓ 26 callers
Method
bytes
(b: Uint8Array)
packages/effect/src/encoding/SchemaBinary.ts:1384
↓ 26 callers
Method
call
(name: string, args: unknown)
packages/effect/test/ai/McpServer/McpServer.test.ts:4713
↓ 26 callers
Method
close
()
packages/sql/mssql/test/Client.test.ts:20
↓ 26 callers
Function
decodeTo
( to: To, transformation?: { readonly decode: SchemaGetter.Getter<To["Encoded"], From["Type"], RD>
packages/effect/src/Schema.ts:5737
↓ 26 callers
Method
entry
One entry, as an invalidation target.
packages/effect/src/ui/Query.ts:319
↓ 26 callers
Method
expectDefaultPrevented
Asserts that the last interaction cancelled its event's default, or didn't with `false`.
packages/effect/src/ui/testing/Scene.ts:401
↓ 26 callers
Function
isHTMLElement
(node: unknown)
packages/effect/src/ui/kit/internal/dom.ts:83
← previous
next →
201–300 of 24,750, ranked by callers