flekschas/piling.js

Asynchify public APIs

Opened this issue · 0 comments

Most of our APIs are async and without returning a promise it's hard to figure out when an action is fully applied. The following methods should return a promise:

  • arrangeBy
  • groupBy
  • halt
  • importState
  • render
  • renderer
  • resume
  • set

Sync methods:

  • exportState
  • get
  • subscribe
  • unsubscribe