This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
galaxy-stack with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Stack frame API for harmony generators in node.js
This package provides an API to obtain stack frame information from generators.
It is an optional companion package to the galaxy package.
var helper = require('galaxy-stack')
cont = helper.getContinuation(gen)
genis a suspended generator object.
frame = helper.getStackFrame(gen [, cont])
genis the suspended generator object.
contis an optional continuation offset which was obtained by a prior call to