You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@delvedor: Thanks for the quick reply! Why? I read advanced usage examples in the tests and tried to match that usage. 😅
I do have a PR for this with tests, but, I stopped when I saw how things were exposed under the hood and wanted to understand your intent. If the intent is that autostart: false is not usable without saving a reference to return value ofavvio(), then start not being exposed is not a bug.
Depending on how one initializes avvio some (apparently internal) methods on the Boot prototype that are required for usage with { autostart: false } are not exposed [see above]. The presence of this option in the documentations makes it sound like start() is public, since it can/must be manually called by the user.
I think clarification in the docs on how to use autostart: false and what order onClose handlers** are executed in would be helpful 👍.
** This is the original reason that I was poking around in the tests :)
🐛 Bug Report
.start()
is not exported oninstance
, however,.ready()
is.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that
start
is exported either automatically or via theexpose
configuration option in boot.js at line 18:startKey = expose.start || 'start'
Your Environment
The text was updated successfully, but these errors were encountered: