A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Seahorse/Client/EventEmitter.html below:

EventEmitter — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Seahorse::Client::EventEmitter
Defined in:
aws-sdk-core/lib/seahorse/client/events.rb
Attribute Summary collapse Instance Method Summary collapse Instance Method Details #emit(event_name, *args, &block) ⇒ Object
10
11
12
13
# File 'aws-sdk-core/lib/seahorse/client/events.rb', line 10

def emit(event_name, *args, &block)
  @listeners[event_name] ||= []
  @listeners[event_name] << block if block_given?
end
#initialize(*args) ⇒ Object
5
6
7
8
# File 'aws-sdk-core/lib/seahorse/client/events.rb', line 5

def initialize(*args)
  @listeners = {}
  super
end
#signal(event, *args) ⇒ Object
15
16
17
# File 'aws-sdk-core/lib/seahorse/client/events.rb', line 15

def signal(event, *args)
  @listeners
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4