Next

Lexi in the GunDB chat suggested renaming then() to next() to avoid confusion with the async API's. That makes sense to me so I've pushed the change and updated the API docs.

To update examples from previous posts, that means Holster queries now look like:
holster.get("hello").next("world!").on(console.log)

// Which will get called by this update.
holster.get("hello").next("world!").put("update", console.log)
Now all I need to use Holster in a real application is to add SEA from GunDB. No idea how that's going to happen... wish me luck!
Add a comment