Sha256: 50a5dcbc35840aed70397d5caffe016a9d535c05315c13a2c1b67968d6b9c21c

Contents?: true

Size: 556 Bytes

Versions: 5

Compression:

Stored size: 556 Bytes

Contents

module Listen
  class Listener
    # Starts processing events and starts adapters
    # or resumes invoking callbacks if paused
    def start: () -> void

    # Stops both listening for events and processing them
    def stop: () -> void

    # Stops invoking callbacks (messages pile up)
    def pause: () -> void

    # processing means callbacks are called
    def processing?: () -> bool

    def paused?: () -> bool

    def ignore: (Regexp regexps) -> void

    def ignore!: (Regexp regexps) -> void

    def only: (Regexp regexps) -> void
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
searchcraft-0.5.2 .gem_rbs_collection/listen/3.2/listener.rbs
searchcraft-0.5.1 .gem_rbs_collection/listen/3.2/listener.rbs
searchcraft-0.5.0 .gem_rbs_collection/listen/3.2/listener.rbs
searchcraft-0.4.2 .gem_rbs_collection/listen/3.2/listener.rbs
searchcraft-0.4.1 .gem_rbs_collection/listen/3.2/listener.rbs