MCPcopy Create free account

hub / github.com/effect-app/libs / functions

Functions8,642 in github.com/effect-app/libs

↓ 74 callersFunctionassertXml
(schema: Schema.Codec<T, E, RD>, value: T, expected: string)
repos/effect/packages/effect/test/schema/toCodec.test.ts:2683
↓ 72 callersFunctionassertSuccess
(ctor: Brand.Constructor<T>, value: Brand.Brand.Unbranded<T>)
repos/effect/packages/effect/test/Brand.test.ts:14
↓ 72 callersMethodrefresh
(this: AtomContext, atom: Atom<A>)
repos/effect/packages/effect/src/unstable/reactivity/Atom.ts:171
↓ 71 callersMethodarbitrary
* Returns an object with property-based testing helpers for the schema's arbitrary generator. * * **When to use** * * Use to verify that a
repos/effect/packages/effect/src/testing/TestSchema.ts:275
↓ 71 callersMethodis
* Attempts to refine the provided value of type `Unbranded<B>`, returning * `true` if the provided value is a valid branded type, `false` otherwise
repos/effect/packages/effect/src/Brand.ts:80
↓ 71 callersMethodkey
* Focuses on a property of the current struct/tuple focus. * * **Details** * * - On a {@link Lens}, returns a Lens. * - On an {@link Op
repos/effect/packages/effect/src/Optic.ts:582
↓ 71 callersMethodverifyGeneration
(options?: { readonly params?: FastCheck.Parameters<[S["Type"]]> | undefined })
repos/effect/packages/effect/src/testing/TestSchema.ts:278
↓ 71 callersMethodwithPermits
* Runs an effect with the given number of permits and releases the permits * when the effect completes. * * **When to use** * * Use to
repos/effect/packages/effect/src/Semaphore.ts:80
↓ 70 callersFunctiondiagnostic
(code: string, message: string)
repos/effect/packages/tools/jsdocs/src/Jsdocs.ts:438
↓ 69 callersMethodclear
()
repos/effect/packages/effect/src/Console.ts:27
↓ 69 callersMethodgetUnsafe
()
repos/effect/packages/effect/src/unstable/cluster/internal/resourceRef.ts:59
↓ 69 callersMethodtakeAll
()
repos/effect/packages/effect/src/PubSub.ts:141
↓ 68 callersMethodtext
()
repos/effect/packages/platform-node/src/NodeHttpClient.ts:270
↓ 67 callersMethodcurrentTimeMillisUnsafe
* Returns the current time in milliseconds unsafely. * * **When to use** * * Use to read millisecond time synchronously when you already h
repos/effect/packages/effect/src/Clock.ts:49
↓ 65 callersMethodhandler
(arg: any, ctx: any)
packages/vue/src/commander.ts:3203
↓ 64 callersFunctionformat
( quoteValue: (s: string) => string, space?: number | string | undefined )
repos/effect/packages/effect/src/Logger.ts:395
↓ 64 callersFunctionmap
(self: HashSet<V>, f: (value: V) => U)
repos/effect/packages/effect/src/internal/hashSet.ts:151
↓ 60 callersFunctionescapeToken
(token: string)
repos/effect/packages/effect/src/JsonPointer.ts:42
↓ 60 callersFunctionmake
(value: A)
repos/effect/packages/effect/src/Ref.ts:186
↓ 60 callersMethodon
()
repos/effect/packages/sql/mssql/test/SqlErrorClassification.test.ts:33
↓ 60 callersMethoduse
(f: (service: Shape) => Effect<A, E, R>)
repos/effect/packages/effect/src/Context.ts:102
↓ 59 callersMethodmiddleware
( ...mw: MWs )
packages/effect-app/src/rpc/MiddlewareMaker.ts:197
↓ 59 callersMethodrequest
()
repos/effect/packages/effect/src/unstable/http/HttpServerError.ts:60
↓ 58 callersMethodpollUnsafe
()
repos/effect/packages/effect/src/internal/effect.ts:583
↓ 58 callersFunctionstrictEqual
(actual: A, expected: A, message?: string, ..._: Array<never>)
repos/effect/packages/vitest/src/utils.ts:61
↓ 56 callersMethodcatch
(error)
packages/cli/src/gist.ts:644
↓ 56 callersFunctionhandler
(request: Request, server: BunServer<WebSocketContext>)
repos/effect/packages/platform-bun/src/BunHttpServer.ts:138
↓ 56 callersFunctionkey
(a: number, b: number)
repos/effect/packages/effect/test/MutableHashMap.test.ts:29
↓ 56 callersMethodmapFields
* Returns a new struct with the fields modified by the provided function. * * **Details** * * Options: * * - `unsafePreserveChecks`
repos/effect/packages/effect/src/Schema.ts:12413
↓ 56 callersFunctionmount
(this: Lifetime<any>, atom: Atom.Atom<A>)
repos/effect/packages/effect/src/unstable/reactivity/AtomRegistry.ts:959
↓ 55 callersMethodisEmpty
()
repos/effect/packages/effect/src/PubSub.ts:91
↓ 55 callersMethodpublish
(value: A)
repos/effect/packages/effect/src/PubSub.ts:94
↓ 55 callersFunctionrelation
( path: P )
packages/effect-app/src/Model/query/dsl.ts:582
↓ 55 callersFunctionuseOmegaForm
( schema: S.Codec<To, From>, tanstackFormOptions?: NoInfer<FormProps<From, To>>, omegaConfig?: Cfg )
packages/vue-components/src/components/OmegaForm/useOmegaForm.ts:35
↓ 54 callersMethodwithPermit
* Runs an effect with the given number of permits and releases the permits * when the effect completes. * * **When to use** * * Use to
repos/effect/packages/effect/src/Semaphore.ts:97
↓ 53 callersFunctionassertJsonSchema
(schema: Schema.Constraint, expected: JsonSchema.JsonSchema)
repos/effect/packages/effect/test/unstable/ai/OpenAiStructuredOutput.test.ts:7
↓ 53 callersFunctionmodify
(key: string | RegExp)
repos/effect/packages/effect/src/unstable/http/Headers.ts:394
↓ 52 callersMethodopenUnsafe
* Opens the latch synchronously, releasing all fibers waiting on it. * * **When to use** * * Use when synchronous code must open the latch
repos/effect/packages/effect/src/Latch.ts:69
↓ 51 callersFunctionannotateDb
(a: DbSpanOptions)
packages/infra/src/otel.ts:70
↓ 51 callersFunctionuserMessage
(text: string)
repos/effect/packages/effect/test/unstable/ai/ResponseIdTracker.test.ts:7
↓ 50 callersMethodend
(endTime: bigint, exit: Exit.Exit<unknown, unknown>)
repos/effect/packages/effect/src/Tracer.ts:361
↓ 50 callersFunctiongenerateMetaFromSchema
( schema: S.Codec<To, From> )
packages/vue-components/src/components/OmegaForm/meta/createMeta.ts:130
↓ 50 callersMethodmakeWith
( args: [Evt] extends [never] ? { makeInitial?: Effect.Effect<readonly T[], E, RInitial> | undefin
packages/effect-app/src/Model/Repository/internal/internal.ts:737
↓ 50 callersMethodpick
* Focuses on a subset of keys of the current struct focus. * * **Details** * * - On a {@link Lens}, returns a Lens. * - On an {@link Op
repos/effect/packages/effect/src/Optic.ts:796
↓ 50 callersFunctionticks
(n: number)
packages/vue/test/interrupt-refetch-repro.test.ts:38
↓ 50 callersFunctionunescapeToken
(token: string)
repos/effect/packages/effect/src/JsonPointer.ts:78
↓ 49 callersFunctionassertFailure
( ctor: Brand.Constructor<T>, value: Brand.Brand.Unbranded<T>, message: string )
repos/effect/packages/effect/test/Brand.test.ts:18
↓ 48 callersMethodexec
(sql: string, ...params: ReadonlyArray<unknown>)
repos/effect/packages/sql/sqlite-do/test/Client.test.ts:39
↓ 48 callersMethodgroup
(...args: ReadonlyArray<any>)
repos/effect/packages/effect/src/Console.ts:34
↓ 48 callersFunctionisEffect
(u: unknown)
repos/effect/packages/effect/src/internal/core.ts:115
↓ 48 callersMethodof
* A helper method which can be used for type-safe handler declarations.
repos/effect/packages/effect/src/unstable/ai/Toolkit.ts:79
↓ 47 callersFunctionassertJsonSchema
(schema: Schema.Constraint, expected: JsonSchema.JsonSchema)
repos/effect/packages/effect/test/unstable/ai/AnthropicStructuredOutput.test.ts:7
↓ 47 callersFunctionwithResponse
(config: Config | undefined)
repos/effect/packages/ai/anthropic/src/Generated.ts:11066
↓ 46 callersFunctionconstant
(a: A)
repos/effect/packages/effect/src/Combiner.ts:278
↓ 46 callersFunctiondecodeTo
( to: To, transformation?: { readonly decode: SchemaGetter.Getter<To["Encoded"], From["Type"], RD>
repos/effect/packages/effect/src/Schema.ts:5410
↓ 46 callersFunctionformat
(input: unknown, options?: { readonly space?: number | string | undefined readonly ignoreToString?: boolea
repos/effect/packages/effect/src/Formatter.ts:116
↓ 46 callersFunctionmakeTestLayer
(options: { readonly body?: Partial<Generated.Response> readonly status?: number readonly headers?: Reco
repos/effect/packages/ai/openai/test/OpenAiLanguageModel.test.ts:1395
↓ 46 callersFunctionsucceed
(success: A)
repos/effect/packages/effect/src/internal/result.ts:90
↓ 45 callersFunctiondecodeError
(tag: Tag, schema: Schema)
repos/effect/packages/ai/anthropic/src/Generated.ts:11094
↓ 45 callersMethodgetCustomName
* Returns the user-specified tool name that corresponds with the provided * provider-specified tool name. * * **Details** * * If the pr
repos/effect/packages/effect/src/unstable/ai/Tool.ts:1554
↓ 45 callersMethodomit
* Focuses on all keys **except** the specified ones. * * **Details** * * - On a {@link Lens}, returns a Lens. * - On an {@link Optional
repos/effect/packages/effect/src/Optic.ts:833
↓ 45 callersFunctionsetupRequestContextFromCurrent
(name = "request", options?: Tracer.SpanOptions & SetupRequestOptions)
packages/effect-app/src/setupRequest.ts:82
↓ 45 callersFunctiontoTransform
( channel: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env> )
repos/effect/packages/effect/src/Channel.ts:424
↓ 44 callersMethodaddObserver
(cb: (exit: Exit.Exit<A, E>) => void)
repos/effect/packages/effect/src/internal/effect.ts:552
↓ 44 callersFunctionassertExitFailure
( exit: Exit.Exit<A, E>, expected: Cause.Cause<E>, ..._: Array<never> )
repos/effect/packages/effect/test/utils/assert.ts:160
↓ 44 callersMethodinvalidate
* Invalidates the resource associated with the key.
repos/effect/packages/effect/src/LayerMap.ts:90
↓ 44 callersFunctionprovideDb
(database: IndexedDbDatabase.Any)
repos/effect/packages/platform-browser/test/IndexedDbQueryBuilder.test.ts:25
↓ 44 callersMethodreset
* Restore the property descriptor on the given class instance or prototype and re-apply the lazy getter. * @param on The class instance or prototyp
packages/effect-app/src/utils.ts:276
↓ 43 callersFunctiondecodeSuccess
(schema: Schema)
repos/effect/packages/ai/anthropic/src/Generated.ts:11091
↓ 43 callersFunctionmakeRepo
( itemType: ItemType, schema: S.Codec<T, Encoded, RSchema>, options: Omit<RepositoryOptions<IdKey, Encod
packages/effect-app/src/Model/Repository/makeRepo.ts:113
↓ 42 callersMethodonInterrupt
(f: (interruptors: ReadonlySet<number>, result: Failure<A, E>) => B)
repos/effect/packages/effect/src/unstable/reactivity/AsyncResult.ts:890
↓ 41 callersMethodcompile
( statement: Fragment, withoutTransform?: boolean, placeholderOverride?: (u: unknown) => string
repos/effect/packages/effect/src/unstable/sql/Statement.ts:807
↓ 41 callersFunctionfromIterable
(collection: Iterable<A>)
repos/effect/packages/effect/src/Array.ts:304
↓ 41 callersFunctionsanitizeJavaScriptIdentifier
(s: string)
repos/effect/packages/effect/src/SchemaRepresentation.ts:2824
↓ 40 callersFunctionassertToSchemaWithReviver
(schema: Schema.Top, runtime: string)
repos/effect/packages/effect/test/schema/representation/toSchema.test.ts:195
↓ 40 callersFunctionnextId
()
repos/effect/packages/effect/test/Metric.test.ts:663
↓ 40 callersMethodpublishAll
(elements: Iterable<A>)
repos/effect/packages/effect/src/PubSub.ts:95
↓ 40 callersFunctionschema
(codec: Schema.Codec<T, E>, path?: string | ConfigProvider.Path)
repos/effect/packages/effect/src/Config.ts:642
↓ 40 callersMethodshutdown
()
repos/effect/packages/effect/src/PubSub.ts:2604
↓ 39 callersMethodadd
( a: A )
packages/infra/src/routing.ts:47
↓ 39 callersMethodaddEventListener
( event: string, f: (event: A) => void, options?: { readonly capture?: boolean readonl
repos/effect/packages/effect/src/Stream.ts:1539
↓ 39 callersFunctionmatch
(input: Cron.Cron | string, date: DateTime.DateTime.Input)
repos/effect/packages/effect/test/Cron.test.ts:5
↓ 39 callersMethodstream
(this: AtomContext, atom: Atom<A>, options?: { readonly withoutInitialValue?: boolean readonly bufferS
repos/effect/packages/effect/src/unstable/reactivity/Atom.ts:179
↓ 39 callersFunctionuseExperimental
( options?: { messages?: Record<string, string> | Record<string, MessageFormatElement[]>; toasts: any[] } )
packages/vue/test/stubs.ts:94
↓ 39 callersFunctionvalue
(c: number, d: number)
repos/effect/packages/effect/test/MutableHashMap.test.ts:33
↓ 38 callersFunctionadd32
* 32-bit addition with overflow handling (JavaScript numbers are 53-bit). * * Example: add32(0xFFFFFFFF, 0x00000001) = 0x00000000 (wraps around)
repos/effect/packages/effect/src/Random.ts:557
↓ 38 callersFunctioneq
(a: E, b: E)
repos/effect/packages/effect/test/Chunk.test.ts:855
↓ 38 callersMethodinterruptUnsafe
(fiberId?: number | undefined, annotations?: Context.Context<never> | undefined)
repos/effect/packages/effect/src/internal/effect.ts:565
↓ 38 callersMethodjson
()
packages/effect-app/src/builtin-json.d.ts:20
↓ 38 callersFunctiontoArray
(i: Iterable<A>)
repos/effect/packages/effect/test/Iterable.test.ts:11
↓ 37 callersMethodannotate
* Add an annotation to the tool.
repos/effect/packages/effect/src/unstable/ai/Tool.ts:341
↓ 37 callersMethodcloseUnsafe
* Closes the latch synchronously so future waiters suspend again. * * **When to use** * * Use when synchronous code must close the latch i
repos/effect/packages/effect/src/Latch.ts:105
↓ 37 callersFunctionexecute
(sql, params, transformRows)
repos/effect/packages/sql/d1/src/D1Client.ts:186
↓ 37 callersFunctionisStream
(u: unknown)
repos/effect/packages/effect/src/Stream.ts:287
↓ 37 callersMethodmarkParts
(parts: ReadonlyArray<object>, responseId: string)
repos/effect/packages/effect/src/unstable/ai/ResponseIdTracker.ts:50
↓ 37 callersMethodmiddleware
* Add an `RpcMiddleware` to this procedure.
repos/effect/packages/effect/src/unstable/rpc/Rpc.ts:134
↓ 36 callersFunctiondecodeSuccess
(schema: Schema)
repos/effect/packages/ai/openrouter/src/Generated.ts:8942
↓ 36 callersMethodencodeSync
()
repos/effect/packages/effect/typetest/schema/Schema.tst.ts:1870
↓ 36 callersFunctionmake
(...args: Array<string>)
packages/cli/test/argv-patch.test.ts:8
↓ 36 callersMethodorElse
(orElse: LazyArg<B>)
repos/effect/packages/effect/src/unstable/reactivity/AsyncResult.ts:897
← previousnext →101–200 of 8,642, ranked by callers