MCPcopy Create free account
hub / github.com/Effect-TS/effect / allWith

Function allWith

packages/effect/src/internal/fiberRuntime.ts:2006–2017  ·  view source on GitHub ↗
(options?: O)

Source from the content-addressed store, hash-verified

2004
2005/* @internal */
2006export const allWith = <
2007 O extends NoExcessProperties<{
2008 readonly concurrency?: Concurrency | undefined
2009 readonly batching?: boolean | "inherit" | undefined
2010 readonly discard?: boolean | undefined
2011 readonly mode?: "default" | "validate" | "either" | undefined
2012 readonly concurrentFinalizers?: boolean | undefined
2013 }, O>
2014>(options?: O) =>
2015<const Arg extends Iterable<Effect.Effect<any, any, any>> | Record<string, Effect.Effect<any, any, any>>>(
2016 arg: Arg
2017): Effect.All.Return<Arg, O> => all(arg, options)
2018
2019/* @internal */
2020export const allSuccesses = <Eff extends Effect.Effect<any, any, any>>(

Callers

nothing calls this directly

Calls 1

allFunction · 0.70

Tested by

no test coverage detected