Skip to content

No more global singleton

Compare
Choose a tag to compare
@oskarhane oskarhane released this 23 Mar 19:27
· 9 commits to master since this release

This is a release that removes the singleton pattern from Suber.

Breaking

  • remove getBus()
  • add createBus()

The function names describe the intent. Now a new bus is created every time where as it used to return a singleton bus.

See README for usages and new API.