Aliases

None.

Arguments

function
required
The callback to register. Keep the same function object for removal.

Returns

This function returns no values. Retain the exact callback object. Repeated registrations require repeated removals. Missing callbacks do nothing. Related types: RakNet types & behavior.

Example