Function.SqSignalBase.LeadFunc - VCMP-SqMod/SqMod GitHub Wiki
Move all occurrences of a slot with a speciffic function to the front so they receive the signal first.
- Aliases:
SqSignalBase.LeadFunc
- Signature:
(callback);
(callback, one);
(callback, one, append);
-
Parameters:
-
callback
function
The function that represents the callback in the slot. -
one
bool
(optional) Limit the operation to one slot. -
append
bool
(optional) Append instead of push when shuffling slots.
-
callback
-
Return:
-
integer
The number of times there was a match for the specified function.
-
-
Throws:
- This function may throw errors if any of the given parameters are not valid.
No remarks available.
No example available.
-
function
SqSignalBase.LeadFunc -
function
SqSignalBase.LeadThis
No references available.