MCPcopy Index your code
hub / github.com/Effect-TS/effect / pushStack

Method pushStack

packages/effect/src/internal/fiberRuntime.ts:1073–1078  ·  view source on GitHub ↗
(cont: core.Continuation)

Source from the content-addressed store, hash-verified

1071 }
1072
1073 pushStack(cont: core.Continuation) {
1074 this._stack.push(cont)
1075 if (cont._op === "OnStep") {
1076 this._steps.push({ refs: this.getFiberRefs(), flags: this.currentRuntimeFlags })
1077 }
1078 }
1079
1080 popStack() {
1081 const item = this._stack.pop()

Callers 8

["OnStep"]Method · 0.95
[OpCodes.OP_WHILE]Method · 0.95
fiberRuntime.tsFile · 0.45
["Blocked"]Method · 0.45

Calls 1

getFiberRefsMethod · 0.95

Tested by

no test coverage detected