MCPcopy Create free account

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

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

↓ 43 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:511
↓ 42 callersMethodblur
Sends `blur`.
packages/effect/src/ui/html/testing/HtmlScene.ts:246
↓ 42 callersFunctiondescribe
(text: string | undefined)
packages/ai/amazon-bedrock/src/internal/errors.ts:160
↓ 42 callersMethodinit
An init function, with the definition's Model, message, events and props.
packages/effect/src/ui/Component.ts:2907
↓ 42 callersMethodprop
* Sets a native prop, or removes it with `undefined`. * * @since 4.2.0
packages/ui/native/src/Native.ts:1706
↓ 42 callersMethodresult
* 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 callersMethodcheck
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 callersMethodcloseUnsafe
* 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 callersMethodset
(this: AtomContext, atom: Writable<R, W>, value: W)
packages/effect/src/reactivity/Atom.ts:190
↓ 40 callersMethodchanges
* 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 callersMethodchild
* 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 callersMethodemitted
* 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 callersMethodtoHaveText
* 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 callersMethodview
A view, to pass as `view` or call from another view.
packages/effect/src/ui/Component.ts:2961
↓ 39 callersMethoddecodeText
(raw: string, offset: number, attribute: boolean, whitespace: boolean)
packages/effect/src/encoding/Xml.ts:1637
↓ 39 callersMethoddispose
()
packages/effect/src/reactivity/AtomRegistry.ts:674
↓ 39 callersFunctionfail
(message: string)
packages/sql/pg/src/PgTypes.ts:60
↓ 39 callersFunctionmake
(value: A)
packages/effect/src/Ref.ts:178
↓ 39 callersMethodreject
(message: string, address?: NetAddress.InetAddress)
packages/effect/src/socket/DatagramSocket.ts:849
↓ 39 callersMethodstart
(run: Run)
packages/effect/src/ui/internal/commandRun.ts:170
↓ 39 callersMethodtoJSON
()
packages/effect/src/internal/graph.ts:32
↓ 38 callersMethodcancel
()
packages/sql/mssql/test/Client.test.ts:94
↓ 38 callersMethoddecodeEffect
()
packages/effect/src/internal/schema/compilerRegistry.ts:125
↓ 38 callersMethodinterrupt
@internal Interrupts a handler execution and completes its persisted ask, if any.
packages/platform/cloudflare/src/CloudflareDurableObjects.ts:225
↓ 38 callersMethodtoExist
Asserts that at least one element matches.
packages/effect/src/ui/testing/Scene.ts:161
↓ 37 callersMethodadd
* Add a `HttpApiGroup` to the `HttpApi`.
packages/effect/src/http-api/HttpApi.ts:73
↓ 37 callersMethodcombine
* 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 callersMethoddigest
()
packages/effect/src/crypto/internal/md5.ts:147
↓ 37 callersMethodformat
(route: Route)
packages/tools/openapi-generator/src/HttpApiTransformer.ts:55
↓ 37 callersMethodisDone
* Whether every byte of the message being read has been read. * * @since 4.1.5
packages/effect/src/protobuf/ProtobufReader.ts:195
↓ 37 callersMethodloc
(startToken: Token)
packages/tools/graphql-generator/src/internal/Parser.ts:705
↓ 37 callersMethodvalidate
()
packages/tools/graphql-generator/src/internal/Validate.ts:285
↓ 36 callersMethodexpectMount
* 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 callersFunctionfind
( nodes: ReadonlyArray<ShadowNode>, test: (n: ShadowNode) => boolean )
packages/ui/native/test/utils/FakeFabric.ts:190
↓ 36 callersFunctioninvalid
(expected: string, input?: unknown, options?: SchemaAST.ParseOptions)
packages/effect/src/encoding/SchemaBinary.ts:1260
↓ 36 callersFunctionmakeFilter
( filter: (input: T, ast: AST, options: ParseOptions) => Schema.FilterOutput, annotations?: Schema.Annotat
packages/effect/src/SchemaAST.ts:4234
↓ 36 callersMethodprint
* Prints a module's imports, ordered declarations, and appended source as TypeScript.
packages/effect/src/Codegen.ts:666
↓ 36 callersMethodrelease
* 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 callersMethodconnect
( lookup: (path: ReadonlyArray<Node>) => ReadonlyArray<Events | undefined> )
packages/effect/src/ui/Renderer.ts:113
↓ 35 callersFunctionjoin
()
packages/effect/src/Path.ts:563
↓ 35 callersMethodmounted
* 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 callersMethodrequest
(types: ReadonlyArray<string>)
packages/effect/src/ui/internal/transitionRun.ts:19
↓ 34 callersMethodarray
(owner: JsonObject, key: string, path: string)
packages/tools/graphql-generator/src/internal/IntrospectionReader.ts:204
↓ 34 callersFunctionfromChannel
( channel: Channel.Channel< never, E, End<A, L>, NonEmptyReadonlyArray<In>, never, v
packages/effect/src/Sink.ts:244
↓ 34 callersFunctionhandler
()
packages/effect/test/ui/kit/Input.test.ts:80
↓ 34 callersMethodid
* Sets the `id` attribute. * * @since 4.2.0
packages/effect/src/ui/html/Html.ts:2019
↓ 34 callersMethodremoveEventListener
( event: string, f: (event: A) => void, options?: { readonly capture?: boolean } | boole
packages/effect/src/Stream.ts:1479
↓ 34 callersMethodsend
* 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 callersMethodtakeAll
()
packages/effect/src/PubSub.ts:149
↓ 34 callersMethodtoArray
()
packages/effect/src/reactivity/AtomRef.ts:357
↓ 34 callersMethodtype
* 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 callersMethodannotate
* Annotate the entity with a value.
packages/effect/src/cluster/Entity.ts:105
↓ 33 callersFunctiondescribe
(steps: ReadonlyArray<Step>, time: number)
examples/ui/launch/src/diagram/Diagram.ts:133
↓ 33 callersMethodisEmpty
()
packages/effect/src/PubSub.ts:99
↓ 33 callersMethodkill
(signal?: NodeJS.Signals | number)
packages/platform/node-shared/src/internal/nodeChildProcessSpawner.ts:26
↓ 33 callersMethodopen
* 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 callersMethoduvarint
(n: number)
packages/effect/src/encoding/SchemaBinary.ts:1393
↓ 33 callersMethodwithPermit
* 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 callersMethoddisconnect
()
packages/effect/test/ui/kit/utils/document.ts:109
↓ 32 callersFunctionmap
(self: HashSet<V>, f: (value: V) => U)
packages/effect/src/internal/hashSet.ts:153
↓ 32 callersMethodobserve
(value: number, timestamp: number)
packages/effect/src/Metric.ts:2030
↓ 32 callersFunctionrunFork
(effect: Effect.Effect<A, E, R>, options?: Effect.RunOptions)
packages/effect/src/ManagedRuntime.ts:425
↓ 31 callersFunctionField
(h: Html.H<M>, options: { readonly label: string readonly children?: C })
packages/effect/typetest/ui/html/Html.tst.ts:70
↓ 31 callersFunctionassertNone
(option: Option.Option<A>, ..._: Array<never>)
packages/effect/test/utils/assert.ts:147
↓ 31 callersMethodcompleteUnsafe
( exit: Exit.Exit< [R] extends [Request<infer _A, infer _E, infer _R>] ? _A : never, [R] exten
packages/effect/src/Request.ts:615
↓ 31 callersMethodexpectIgnored
* 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 callersMethodid
* 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 callersMethodjson
()
packages/ui/native/src/NativeHttpClient.ts:441
↓ 31 callersFunctionlistener
(next: A)
packages/effect/src/ui/Router.ts:2298
↓ 31 callersFunctionreject
( status: number, error?: unknown, id: string | number | null = null
packages/effect/src/ai/internal/mcpRuntime.ts:426
↓ 31 callersMethodrender
( h: View.HelperBase<Msg, unknown>, options: View.Child.Options<Props, Events, NoInfer<Msg>> & {
packages/effect/src/ui/Feature.ts:111
↓ 30 callersMethoddrop
* 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 callersMethodinitial
( workflow: Workflow.Any, executionId: string, options?: { readonly scope?: Scope.Closeable
packages/effect/src/workflow/WorkflowEngine.ts:311
↓ 30 callersMethodschedule
()
packages/effect/src/ui/internal/mountRun.ts:122
↓ 30 callersMethodthread
()
packages/effect/src/chat/ChatTest.ts:1437
↓ 29 callersMethodadd
* Add an `Event` to the `EventGroup`.
packages/effect/src/eventlog/EventGroup.ts:68
↓ 29 callersMethodapply
( root: Locator.Node, plan: ReadonlyArray<defaults.ClickEvent> )
packages/effect/src/ui/html/testing/HtmlScene.ts:515
↓ 29 callersFunctionassertSome
( option: Option.Option<A>, expected: A, ..._: Array<never> )
packages/effect/test/utils/assert.ts:151
↓ 29 callersFunctionerrorWithPath
(message: string, path: ReadonlyArray<PropertyKey>)
packages/effect/src/internal/errors.ts:4
↓ 29 callersFunctionflow
(depth: number)
packages/effect/test/encoding/Yaml.test.ts:1100
↓ 29 callersMethodlazy
* 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 callersMethodprop
* 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 callersFunctionrender
(as: ReadonlyArray<string>)
packages/tools/openapi-generator/src/JsonSchemaGenerator.ts:323
↓ 28 callersMethodattribute
(key: string, value: unknown)
packages/effect/src/Tracer.ts:415
↓ 28 callersMethoddispatch
(type: EventType, event: Socket.WebSocketEvent)
packages/effect/test/socket/Socket.test.ts:43
↓ 28 callersFunctionframe
(view: Window | null, f: () => void)
packages/effect/src/ui/kit/Drawer.ts:896
↓ 28 callersMethodload
(this: LoadContext, id: string)
packages/effect/src/ui/html/HtmlServerVite.ts:194
↓ 28 callersMethodofferAll
(as: Iterable<A>)
packages/effect/src/PubSub.ts:2971
↓ 28 callersMethodrecord
(header: Header, flags: number)
packages/effect/src/encoding/Zip.ts:1097
↓ 27 callersMethodof
(handlers: Handlers)
packages/effect/src/cluster/Entity.ts:181
↓ 27 callersFunctionoptional
( schema: S )
packages/effect/src/ai/internal/mcpSchema/v2024_11_05.ts:21
↓ 27 callersMethodpatch
(oldValue: T, patch: Patch)
packages/effect/src/Differ.ts:33
↓ 27 callersFunctiontoJson
(input: unknown)
packages/effect/src/Inspectable.ts:158
↓ 26 callersMethodbytes
(b: Uint8Array)
packages/effect/src/encoding/SchemaBinary.ts:1384
↓ 26 callersMethodcall
(name: string, args: unknown)
packages/effect/test/ai/McpServer/McpServer.test.ts:4713
↓ 26 callersMethodclose
()
packages/sql/mssql/test/Client.test.ts:20
↓ 26 callersFunctiondecodeTo
( to: To, transformation?: { readonly decode: SchemaGetter.Getter<To["Encoded"], From["Type"], RD>
packages/effect/src/Schema.ts:5737
↓ 26 callersMethodentry
One entry, as an invalidation target.
packages/effect/src/ui/Query.ts:319
↓ 26 callersMethodexpectDefaultPrevented
Asserts that the last interaction cancelled its event's default, or didn't with `false`.
packages/effect/src/ui/testing/Scene.ts:401
↓ 26 callersFunctionisHTMLElement
(node: unknown)
packages/effect/src/ui/kit/internal/dom.ts:83
← previousnext →201–300 of 24,750, ranked by callers