@nicolawealth/defer_until
v0.1.2
Published
  order.
After the stack is used to call all stored functions, the stack is emptied.
Interface
The defer_until package provides the function deferUntilFactory which returns an instance of the object deferUntilType with the following properties:
defer(handler: () => void);is used to pass handler functions which will be added to a stack of existing handler functions to all be called upon at a later timelater();is used to call all the handler functions currently in the stack, following a LIFO convention, leaving the stack empty
Testing
Tests can be found in defer_until.test.ts located in defer_until/src and should be run with sinon, mocha and nyc.
