Skip to content

@vladfaust vladfaust released this Apr 16, 2019

Overhaul! 💥

  • ⚠️ breaking Channel is an abstract class now, use Channel::Memory and Channel::Redis.
  • ⚠️ breaking No need to pass a subscribing object to Channel#subscribe anymore. It returns Channel::Subscription instance which has #unsubscribe method.
  • ⚠️ breaking Channel#subscribe accepts filter or consumer_id arguments. The former enables event filtering and the latter enables consuming instead of subscribing. Closes #3 and also closes #4.
  • ⚠️ breaking Channel#emit returns the events themselves.
  • Added Channel#await method, which closes #5.
  • Events have an #event_id getter with random UUID by default, which closes #6.
  • Added Subscriber and Consumer modules.
  • Fixed requiring logic of events when using Channel::Redis, the requiring order should not matter anymore.
  • Also added triggering dependant Travis CI builds.
Assets 2
Feb 26, 2019
overhaul
Jan 9, 2019
initial release
You can’t perform that action at this time.