Skip to content

LiteFX::Event::operator+=

Subscribes an event handler to the event.

Synopsis

Declared in <litefx/app.hpp>

event_token_type operator+=(function_type const& subscriber);

Return Value

A unique token of the event handler.

Parameters

NameDescription
subscriberA delegate for the event handler.