Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ functions
Functions
8,651 in github.com/Effect-TS/effect
⨍
Functions
8,651
◇
Types & classes
5,147
↓ 6 callers
Function
makePrimitive
( tag: string, parse: (value: string) => Effect.Effect<A, string, Environment> )
packages/effect/src/unstable/cli/Primitive.ts:110
↓ 6 callers
Function
makeWhen
( guard: (u: unknown) => boolean, evaluate: (input: unknown) => any )
packages/effect/src/internal/matcher.ts:88
↓ 6 callers
Method
monotonicTimeNanosUnsafe
* Returns the current monotonic time in nanoseconds unsafely. * * **When to use** * * Use to measure elapsed time synchronously when you a
packages/effect/src/Clock.ts:124
↓ 6 callers
Function
nodeRange
(node: ts.Node)
packages/tools/jsdocs/src/Jsdocs.ts:2639
↓ 6 callers
Method
of
(handlers: Handlers)
packages/effect/src/unstable/rpc/RpcGroup.ts:110
↓ 6 callers
Function
onExit
(exit: Exit.Exit<OutElem2, EX>)
packages/effect/src/Channel.ts:2185
↓ 6 callers
Function
optionsFromApi
(api: Top)
packages/effect/src/unstable/httpapi/HttpApi.ts:198
↓ 6 callers
Method
parseHeader
()
packages/effect/src/unstable/encoding/Toml.ts:73
↓ 6 callers
Method
randomBytes
* Generates cryptographically secure random bytes.
packages/effect/src/Crypto.ts:93
↓ 6 callers
Function
recur
(input: unknown, path: Path)
packages/effect/src/internal/schema/fromJsonSchemaDocument.ts:638
↓ 6 callers
Method
recur
@internal
packages/effect/src/SchemaAST.ts:2905
↓ 6 callers
Function
resolved
(value: T, hasInput: boolean)
packages/effect/src/Config.ts:181
↓ 6 callers
Function
runPromise
(effect: Effect.Effect<A, E, R>, options?: { readonly signal?: AbortSignal | undefined })
packages/effect/src/ManagedRuntime.ts:377
↓ 6 callers
Function
setResult
( this: Lifetime<any>, atom: Atom.Writable<Result.AsyncResult<A, E>, W>, value: W )
packages/effect/src/unstable/reactivity/AtomRegistry.ts:915
↓ 6 callers
Method
setSelf
(this: AtomContext, a: A)
packages/effect/src/unstable/reactivity/Atom.ts:175
↓ 6 callers
Method
setValue
(value: A)
packages/effect/src/unstable/reactivity/AtomRegistry.ts:685
↓ 6 callers
Method
slide
()
packages/effect/src/PubSub.ts:97
↓ 6 callers
Function
stableJson
(value: unknown)
packages/tools/api-diff/src/Json.ts:6
↓ 6 callers
Function
toPlatformError
( method: string, error: NodeJS.ErrnoException, command: ChildProcess.Command )
packages/platform/node-shared/src/NodeChildProcessSpawner.ts:53
↓ 6 callers
Function
transform
(options: { readonly decode: (input: E) => T readonly encode: (input: T) => E })
packages/effect/src/SchemaTransformation.ts:335
↓ 6 callers
Function
withEntriesTransaction
( db: IDBDatabase, mode: IDBTransactionMode, message: string, run: ( entries: IDBObjectStore,
packages/platform/browser/src/BrowserPersistence.ts:271
↓ 6 callers
Function
withRecursion
( fc: typeof FastCheck, ctx: Annotations.ToArbitrary.Context, terminal: FastCheck.Arbitrary<T> | undefin
packages/effect/src/Schema.ts:10996
↓ 5 callers
Function
Equivalence
(self, that)
packages/effect/src/Duration.ts:1218
↓ 5 callers
Method
Schema
* Builds the schema for completed workflow results from success and error schemas. * * @since 4.0.0
packages/effect/src/unstable/workflow/Workflow.ts:548
↓ 5 callers
Method
annotate
* Add an annotation on the rpc.
packages/effect/src/unstable/rpc/Rpc.ts:158
↓ 5 callers
Method
applyInterrupt
(effect: Effect.Effect<A, E, R>)
packages/effect/src/unstable/http/HttpClient.ts:1696
↓ 5 callers
Function
assertEquals
(actual: A, expected: A, message?: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:44
↓ 5 callers
Function
assertInclude
(actual: string | undefined, expected: string, ..._: Array<never>)
packages/effect/test/utils/assert.ts:90
↓ 5 callers
Function
assertInstanceOf
( value: unknown, constructor: C, message?: string, ..._: Array<never> )
packages/effect/test/utils/assert.ts:62
↓ 5 callers
Function
atomKey
(atom: Atom.Atom<A>)
packages/effect/src/unstable/reactivity/AtomRegistry.ts:317
↓ 5 callers
Function
body
()
packages/effect/src/unstable/rpc/RpcServer.ts:1462
↓ 5 callers
Function
classifyError
(cause: unknown, message: string, operation: string)
packages/sql/d1/src/D1Client.ts:33
↓ 5 callers
Function
classifyError
(cause: unknown, message: string, operation: string)
packages/sql/libsql/src/LibsqlClient.ts:31
↓ 5 callers
Function
classifyError
( cause: unknown, message: string, operation: string, fallback: "connection" | "unknown" = "unknown" )
packages/sql/clickhouse/src/ClickhouseClient.ts:61
↓ 5 callers
Method
clearUnsafe
()
packages/effect/src/unstable/ai/ResponseIdTracker.ts:49
↓ 5 callers
Method
collect
(_options?: MetricCollectOptions)
packages/opentelemetry/src/internal/metrics.ts:80
↓ 5 callers
Function
collectIssues
( checks: ReadonlyArray<Check<T>>, value: T, issues: Arr.NonEmptyArray<SchemaIssue.Issue> | undefined,
packages/effect/src/SchemaAST.ts:4038
↓ 5 callers
Function
decodeUnknownEffect
( schema: S, options?: SchemaAST.ParseOptions )
packages/effect/src/SchemaParser.ts:236
↓ 5 callers
Function
dirname
(path)
packages/effect/src/Path.ts:613
↓ 5 callers
Method
done
()
packages/effect/src/unstable/encoding/Toml.ts:486
↓ 5 callers
Function
encode
()
packages/effect/src/unstable/encoding/Sse.ts:436
↓ 5 callers
Function
encodeTag
(fieldNumber: number, wireType: WireType)
packages/effect/src/unstable/observability/internal/protobuf.ts:22
↓ 5 callers
Function
encodeUnknownEffect
( schema: S, options?: SchemaAST.ParseOptions )
packages/effect/src/SchemaParser.ts:587
↓ 5 callers
Function
encodeVarint
(value: number | bigint)
packages/effect/src/unstable/observability/internal/protobuf.ts:29
↓ 5 callers
Function
exitFail
(e: E)
packages/effect/src/internal/core.ts:550
↓ 5 callers
Function
fail
(e: E)
packages/effect/src/Sink.ts:600
↓ 5 callers
Function
fingerprint
(value: unknown)
packages/tools/api-diff/src/Json.ts:24
↓ 5 callers
Function
formatJson
(input: unknown, options?: { readonly space?: number | string | undefined })
packages/effect/src/Formatter.ts:284
↓ 5 callers
Function
formatLabels
( attributes: Metric.Metric.AttributeSet | undefined, extraLabels?: Array<[string, string]> )
packages/effect/src/unstable/observability/PrometheusMetrics.ts:285
↓ 5 callers
Function
fragment
( segments: ReadonlyArray<Segment> )
packages/effect/src/unstable/sql/Statement.ts:48
↓ 5 callers
Function
fromBuildUnsafe
( build: ( memoMap: MemoMap, scope: Scope.Scope ) => Effect<Context.Context<ROut>, E, RIn> )
packages/effect/src/Layer.ts:289
↓ 5 callers
Function
fromRpcGroup
( /** * The entity type name. */ type: Type, /** * The schema definition for messages that the
packages/effect/src/unstable/cluster/Entity.ts:410
↓ 5 callers
Function
get
()
packages/effect/src/internal/option.ts:53
↓ 5 callers
Function
getDirectedNeighbors
( graph: Graph<N, E, "directed"> | MutableGraph<N, E, "directed">, nodeIndex: NodeIndex, direction: Dire
packages/effect/src/Graph.ts:2623
↓ 5 callers
Method
getNodes
()
packages/effect/src/unstable/reactivity/AtomRegistry.ts:364
↓ 5 callers
Function
getOrCreateTransaction
( database: globalThis.IDBDatabase, tables: ReadonlyArray<string>, mode: globalThis.IDBTransactionMode,
packages/platform/browser/src/IndexedDbQueryBuilder.ts:2067
↓ 5 callers
Function
getStatus
( part: | Prompt.TextPart | Prompt.ToolCallPart | Prompt.ToolResultPart )
packages/ai/openai/src/OpenAiLanguageModel.ts:2901
↓ 5 callers
Function
handler
( request: Request, context?: Context.Context<ReqR> | undefined )
packages/effect/src/unstable/http/HttpEffect.ts:321
↓ 5 callers
Function
has
(self: HashSet<V>, value: V)
packages/effect/src/internal/hashSet.ts:84
↓ 5 callers
Function
hasBody
(method: HttpMethod)
packages/effect/src/unstable/http/HttpMethod.ts:57
↓ 5 callers
Function
isApiDiffError
(u: unknown)
packages/tools/api-diff/src/Error.ts:9
↓ 5 callers
Function
isLessThan
(O: Order<A>)
packages/effect/src/Order.ts:662
↓ 5 callers
Method
isOpen
* Checks whether the latch is currently open or closed. * * **When to use** * * Use to check the state of the latch without suspending or
packages/effect/src/Latch.ts:124
↓ 5 callers
Function
isString
(input: unknown)
packages/effect/src/Predicate.ts:556
↓ 5 callers
Function
isSuccess
(result: AsyncResult<A, E>)
packages/effect/src/unstable/reactivity/AsyncResult.ts:242
↓ 5 callers
Method
isToken
()
packages/effect/src/unstable/cli/Prompt.ts:1879
↓ 5 callers
Method
json
()
packages/platform/bun/src/BunHttpServer.ts:465
↓ 5 callers
Function
jsonSchemaFilter
( id: string, payload: Schema.Json, schemas?: ReadonlyArray<Representation> )
packages/effect/src/internal/schema/fromJsonSchemaDocument.ts:100
↓ 5 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:523
↓ 5 callers
Function
make
( runAll: (entries: NonEmptyArray<Request.Entry<A>>, key: unknown) => Effect.Effect<void, Request.Error<A>>
packages/effect/src/RequestResolver.ts:236
↓ 5 callers
Function
make
( evaluator: Evaluator<T> )
packages/effect/src/Config.ts:160
↓ 5 callers
Function
make
( /** * The entity type name. */ type: Type, /** * The schema definition for messages that the
packages/effect/src/unstable/cluster/Entity.ts:452
↓ 5 callers
Function
makeBy
(f: (i: number) => A, options?: { readonly length?: number })
packages/effect/src/Iterable.ts:56
↓ 5 callers
Function
makeCode
(runtime: string, Type: string)
packages/effect/src/internal/schema/toCodeDocument.ts:15
↓ 5 callers
Function
makeHooks
( get: (context: Context.Context<never>) => State, update: (input: Input, context: Context.Context<never>)
packages/effect/src/Metric.ts:3490
↓ 5 callers
Function
makePrimitiveProto
(options: { readonly op: Op readonly [evaluate]?: ( fiber: FiberImpl ) => Primitive | Effect.Effect<
packages/effect/src/internal/core.ts:388
↓ 5 callers
Function
makeProto
(options: { readonly identifier: Identifier readonly path: Path readonly method: Method readonly param
packages/effect/src/unstable/httpapi/HttpApiEndpoint.ts:839
↓ 5 callers
Function
makeUnsafe
( segments: ReadonlyArray<Segment>, acquirer: Acquirer, compiler: Compiler, spanAttributes: ReadonlyAr
packages/effect/src/unstable/sql/Statement.ts:1241
↓ 5 callers
Method
mapFields
* Returns a new struct with the fields modified by the provided function. * * **Details** * * Options: * * - `unsafePreserveChecks`
packages/effect/src/Schema.ts:14008
↓ 5 callers
Function
mask
(hash: number, shift: number)
packages/effect/src/internal/hashMap.ts:57
↓ 5 callers
Function
match
(input: Cron.Cron | string, date: DateTime.DateTime.Input)
packages/effect/test/Cron.test.ts:5
↓ 5 callers
Function
modifiers
(node: ts.Node)
packages/tools/api-diff/src/Snapshot.ts:48
↓ 5 callers
Function
modifyOwnPropertyDescriptors
( ast: A, f: ( d: { [P in keyof A]: TypedPropertyDescriptor<A[P]> } ) => void )
packages/effect/src/SchemaAST.ts:3325
↓ 5 callers
Method
nextDoubleUnsafe
* Generates a random number in the range 0 (inclusive) to 1 (exclusive).
packages/effect/src/Crypto.ts:88
↓ 5 callers
Function
onError
(cause: Event)
packages/effect/src/unstable/socket/Socket.ts:655
↓ 5 callers
Function
onNone
( f: (options: SchemaAST.ParseOptions) => Effect.Effect<Option.Option<T>, SchemaIssue.Issue, R> )
packages/effect/src/SchemaGetter.ts:351
↓ 5 callers
Method
onPubSubEmptySpaceUnsafe
* Describes how subscribers should signal to publishers waiting for space * to become available in the `PubSub` that space may be available.
packages/effect/src/PubSub.ts:174
↓ 5 callers
Function
onSome
( f: (e: E, options: SchemaAST.ParseOptions) => Effect.Effect<Option.Option<T>, SchemaIssue.Issue, R> )
packages/effect/src/SchemaGetter.ts:424
↓ 5 callers
Function
parseNumberHeader
(value: string | undefined)
packages/effect/src/unstable/http/HttpClient.ts:1383
↓ 5 callers
Method
prop
(prop: K)
packages/effect/src/unstable/reactivity/AtomRef.ts:177
↓ 5 callers
Function
recur
(tagName: string, node: StringTree, depth: number, originalNameForMeta?: string)
packages/effect/src/Schema.ts:15270
↓ 5 callers
Function
recur
( representation: SchemaRepresentation.Representation, path: Path )
packages/effect/src/internal/schema/toJsonSchemaDocument.ts:253
↓ 5 callers
Method
releaseUnsafe
(fiber: Fiber<any, any>, n: number)
packages/effect/src/Semaphore.ts:257
↓ 5 callers
Method
removeNode
(node: NodeImpl<any>)
packages/effect/src/unstable/reactivity/AtomRegistry.ts:483
↓ 5 callers
Method
repliesFor
(requestIds: Array<string>)
packages/effect/src/unstable/cluster/MessageStorage.ts:914
↓ 5 callers
Function
run
(stream: Stream.Stream<number, E>)
packages/effect/test/Sink.test.ts:128
↓ 5 callers
Function
run
(ast: SchemaAST.AST)
packages/effect/src/SchemaParser.ts:924
↓ 5 callers
Function
run
(f)
packages/effect/src/unstable/rpc/Utils.ts:41
↓ 5 callers
Method
self
(this: AtomContext)
packages/effect/src/unstable/reactivity/Atom.ts:174
↓ 5 callers
Function
sendDefect
(client: Client, defect: unknown)
packages/effect/src/unstable/rpc/RpcServer.ts:446
← previous
next →
401–500 of 8,651, ranked by callers