MCPcopy Create free account

hub / github.com/briancavalier/fx-ts / functions

Functions59 in github.com/briancavalier/fx-ts

↓ 17 callersFunctiondoFx
(f: (c: C) => Generator<Y, A, unknown>)
src/fx.ts:34
↓ 10 callersFunctionpure
(a: A)
src/fx.ts:60
↓ 10 callersFunctionrunFx
(fx: Fx<C, A>, c: C, k: (r: A) => Cancel = () => uncancelable)
src/fx.ts:72
↓ 9 callersFunctionop
(env: Env<C, A>)
src/fx.ts:47
↓ 9 callersFunctionzip
(...fxs: Fxs)
src/array.ts:13
↓ 6 callersFunctionprintln
(s: string)
examples/fp-to-the-max-1.ts:22
↓ 5 callersFunctionresume
(run: (k: (a: A) => Cancel) => Cancel)
src/env.ts:20
↓ 4 callersFunctionasync
(run: AsyncTask<A>)
src/async.ts:19
↓ 4 callersFunctionfail
(e: Error)
src/fail.ts:10
↓ 4 callersFunctionsync
(run: () => A)
src/sync.ts:13
↓ 3 callersFunctionask
(prompt: string)
examples/fp-to-the-max-1.ts:26
↓ 3 callersFunctionattempt
(fx: Fx<C, A>)
src/fail.ts:12
↓ 3 callersMethodnext
()
src/fx.ts:68
↓ 3 callersFunctiontimeout
(ms: number, fx: Fx<C, A>)
src/async.ts:33
↓ 2 callersFunctioncatchAll
(fx: Fx<C1, A>, f: (e: Error) => Fx<C2, B>)
src/fail.ts:15
↓ 2 callersFunctionget
()
src/fx.ts:90
↓ 2 callersFunctiongetJson
(url: string, headers: { [name: string]: string } = {})
examples/lambda-pets/src/infrastructure/http.ts:22
↓ 2 callersFunctioninterpretResponse
(url: string, [response, body]: Response)
examples/lambda-pets/src/infrastructure/http.ts:34
↓ 2 callersFunctiontryGetAdoptablePetsNear
(ip: string)
examples/lambda-pets/src/application/pets.ts:27
↓ 2 callersFunctionwrapHtml
(body: string)
examples/lambda-pets/src/application/render.ts:15
↓ 1 callersFunctionaddAwait
(x: number)
bench/loop.ts:25
↓ 1 callersFunctionaddFx
(x: number)
bench/loop.ts:5
↓ 1 callersFunctioncancelAll
()
src/async.ts:53
↓ 1 callersFunctioncheckAnswer
(secret: number, guess: number)
examples/fp-to-the-max-1.ts:45
↓ 1 callersFunctioncheckContinue
(name: string)
examples/fp-to-the-max-1.ts:70
↓ 1 callersFunctiondelay
(ms: number)
src/async.ts:28
↓ 1 callersFunctiondelayFail
(ms: number)
src/async.ts:36
↓ 1 callersFunctionembed
(fx: Fx<C1, A>, f: (c: C0) => C1)
src/fx.ts:104
↓ 1 callersFunctiongetAdoptablePetsNear
(ip: string)
examples/lambda-pets/src/application/pets.ts:20
↓ 1 callersFunctiongetLocation
(host: string)
examples/lambda-pets/src/infrastructure/ipstack.ts:14
↓ 1 callersFunctiongetPets
(l: GeoLocation, radiusMiles: number)
examples/lambda-pets/src/infrastructure/petfinder.ts:38
↓ 1 callersFunctionloopAwait
(n: number)
bench/loop.ts:27
↓ 1 callersFunctionloopFx
(n: number)
bench/loop.ts:7
↓ 1 callersFunctionloopPromise
(n: number)
bench/loop.ts:17
↓ 1 callersFunctionplay
(name: string, min: number, max: number)
examples/fp-to-the-max-1.ts:50
↓ 1 callersFunctionpostJson
(url: string, a: A, headers: { [name: string]: string } = {})
examples/lambda-pets/src/infrastructure/http.ts:28
↓ 1 callersFunctionrace
(fx1: Fx<C1, A>, fx2: Fx<C2, B>, ...fxs: Fxs)
src/async.ts:42
↓ 1 callersFunctionraceArray
(fxs: Fxs)
src/async.ts:45
↓ 1 callersFunctionrandomInt
(min: number, max: number)
examples/fp-to-the-max-1.ts:31
↓ 1 callersFunctionreadResponse
(m: IncomingMessage)
examples/lambda-pets/src/infrastructure/http.ts:67
↓ 1 callersFunctionrenderError
(e: Error)
examples/lambda-pets/src/application/render.ts:3
↓ 1 callersFunctionrenderPets
({ location, radiusMiles, pets }: AdoptablePets)
examples/lambda-pets/src/application/render.ts:8
↓ 1 callersFunctionresumeNow
(value: A)
src/env.ts:17
↓ 1 callersFunctionstepFx
(i: Iterator<Env<C, unknown>, A, unknown>, ir: IteratorResult<Env<C, unknown>, A>, c: C, k: (r: A) => Cancel)
src/fx.ts:78
↓ 1 callersFunctiontryAsync
(tryRun: TryAsyncTask<A>)
src/async.ts:21
Method[Symbol.iterator]
()
src/fx.ts:17
Method[Symbol.iterator]
()
src/fx.ts:41
Method[Symbol.iterator]
()
src/fx.ts:53
Method[Symbol.iterator]
()
src/fx.ts:67
FunctionaddPromise
(x: number)
bench/loop.ts:15
Methodconstructor
(public readonly gen: (c: C) => Generator<Y, A, unknown>)
src/fx.ts:40
Methodconstructor
(public readonly env: Env<C, A>)
src/fx.ts:52
Methodconstructor
(public readonly value: A)
src/fx.ts:66
Functionhandler
(s: string)
examples/echo-console.ts:25
Functionhandler
examples/lambda-pets/handler.ts:11
FunctionrunResume
(ra: Resume<A>, k: (a: A) => Cancel)
src/env.ts:30
FunctiontrySync
(run: () => A)
src/sync.ts:15
Functionuncancelable
()
src/env.ts:15
Functionuse
(fx: Fx<CR, A>, cp: CP)
src/fx.ts:99