Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ takeN
Method
takeN
packages/effect/test/Sink/constructors.test.ts:184–186 ·
view source on GitHub ↗
(n: number)
Source
from the content-addressed store, hash-verified
182
}
183
184
takeN(n: number): Effect.Effect<Chunk.Chunk<A>> {
185
return
Queue.takeN(this.backingQueue, n)
186
}
187
188
poll(): Effect.Effect<Option.Option<A>> {
189
return
Queue.poll(this.backingQueue)
Callers
nothing calls this directly
Calls
1
takeN
Method · 0.65
Tested by
no test coverage detected