Skip to content

LiteFX::Event::add

Subscribes an event handler to the event.

Synopsis

Declared in <litefx/app.hpp>

event_token_type add(function_type const& subscriber);

Return Value

A unique token of the event handler.

Parameters

NameDescription
subscriberA delegate for the event handler.