| 213 | |
| 214 | /** @internal */ |
| 215 | export class Emit<in out R> implements Subexecutor<R> { |
| 216 | readonly _tag: OP_EMIT = OP_EMIT |
| 217 | |
| 218 | constructor(readonly value: unknown, readonly next: Subexecutor<R>) { |
| 219 | } |
| 220 | |
| 221 | close(exit: Exit.Exit<unknown, unknown>): Effect.Effect<unknown, never, R> | undefined { |
| 222 | const result = this.next.close(exit) |
| 223 | return result === undefined ? result : result |
| 224 | } |
| 225 | |
| 226 | enqueuePullFromChild(_child: PullFromChild<R>): Subexecutor<R> { |
| 227 | return this |
| 228 | } |
| 229 | } |
nothing calls this directly
no outgoing calls
no test coverage detected