Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snowflyt/tinyeffect
/ askConst
Function
askConst
test/koka-samples.spec.ts:124–129 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
122
});
123
124
const
askConst = () =>
125
addTwice()
126
.handle(
"ask"
, ({ resume }) => {
127
resume(21);
128
})
129
.runSync();
130
expect(askConst()).toEqual(42);
131
132
const
askConst2 = () =>
Callers
1
koka-samples.spec.ts
File · 0.85
Calls
3
addTwice
Function · 0.85
resume
Function · 0.85
handle
Method · 0.65
Tested by
no test coverage detected