Documentation ¶
Overview ¶
Package ctxstack manages a stack of contexts. When triggerFn returns and closeCh is not closed it will cancel the top context. Stack is popped in top first order when returned cancel funcition is called. This can be used to keep track of contexts for nested REPL:s were you only want to cancel the current active "top" REPL. TODO: should New take a parent context?
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.