LiteFX::Event::handler¶
Returns the delegate associated with token.
Synopsis¶
Declared in <litefx/app.hpp>
delegate_type const& handler(event_token_type token) const;
Exceptions¶
| Name | Thrown on |
|---|---|
InvalidArgumentException | Thrown, if the event does not have a subscriber with the provided token. |
Return Value¶
A reference of the delegate associated with token.
Parameters¶
| Name | Description |
|---|---|
| token | The token to query for. |