MCPcopy Create free account
hub / github.com/effect-app/libs / flattenArray

Function flattenArray

repos/effect/packages/effect/src/Channel.ts:2912–2949  ·  view source on GitHub ↗
(
  self: Channel<ReadonlyArray<OutElem>, OutErr, OutDone, InElem, InErr, InDone, Env>
)

Source from the content-addressed store, hash-verified

2910 OutElem1,
2911 OutErr1,
2912 OutDone1,
2913 InElem1,
2914 InErr1,
2915 InDone1,
2916 Env1
2917 >(
2918 self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>,
2919 f: (leftover: Types.NoInfer<OutDone>) => Channel<OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>
2920 ): Channel<
2921 OutElem | OutElem1,
2922 OutErr1 | OutErr,
2923 OutDone | OutDone1,
2924 InElem & InElem1,
2925 InErr & InErr1,
2926 InDone & InDone1,
2927 Env1 | Env
2928 >
2929} = dual(2, <
2930 OutElem,
2931 OutErr,
2932 OutDone,
2933 InElem,
2934 InErr,
2935 InDone,
2936 Env,
2937 OutElem1,
2938 OutErr1,
2939 OutDone1,
2940 InElem1,
2941 InErr1,
2942 InDone1,
2943 Env1
2944>(
2945 self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>,
2946 f: (leftover: Types.NoInfer<OutDone>) => Channel<OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>
2947): Channel<
2948 OutElem | OutElem1,
2949 OutErr1 | OutErr,
2950 OutDone | OutDone1,
2951 InElem & InElem1,
2952 InErr & InErr1,

Callers

nothing calls this directly

Calls 3

transformPullFunction · 0.70
loopFunction · 0.70
succeedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…