Function: getNextContinuation()
function getNextContinuation(context): Continuation | null;
Get the next continuation from the context's call stack.
Parameters
• context: Context
The context containing the call stack.
Returns
Continuation
| null
The next continuation from the call stack, or null if the stack is empty.