Please enable JavaScript.
Coggle requires JavaScript to display documents.
Continuations (Concept (What it does (Example (image (Result (caputured…
Continuations
Concept
Portal
Control State
Async Await
Reiifies
Reinitializes stack at time of call
What it does
Function
When called returns value to a specific "stack"
Example
Result
caputured connection
returning x 5
5
Reason
x waits for call/cc to finish
call/cc does some work
When done calls continuation with 5
x is done waiting and gets 5
Links
https://jlongster.com/Whats-in-a-Continuation