Function: withContinuations()
function withContinuations(handler): MethodCallback;
Wraps a method callback to handle continuations.
Parameters
• handler: MethodCallback
The method callback to wrap.
Returns
A new method callback that handles continuations.