Method SubscribeAndUpdate
SubscribeAndUpdate(Action<T>)
Triggers the callback inline, followed by the Subscribe(Action<T>) function.
Declaration
public IEventBinding SubscribeAndUpdate(Action<T> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<T> | callback | Callback to register. |
Returns
Type | Description |
---|---|
IEventBinding | IEventBinding which allows for safe and easy bind, unbind, and clear functions. |