Method Subscribe
Subscribe(Action<T>)
Register callback to the event that is invoked when the value is updated.
Declaration
IEventBinding Subscribe(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. |