module Besked::Publisher(E)

Defined in:

besked.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def publish(event : E) #

[View source]
def subscribe(subscriber : Subscriber(E)) #

[View source]
def subscribed?(subscriber : Subscriber(E)) #

[View source]
def subscribers : Array(Subscriber(E)) #

[View source]
def unsubscribe(subscriber : Subscriber(E)) #

[View source]