Function.SqSignalBase.LeadFunc - VCMP-SqMod/SqMod GitHub Wiki

Description

Move all occurrences of a slot with a speciffic function to the front so they receive the signal first.

Specifications

  • 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.
  • 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.

Remarks

No remarks available.

Examples

No example available.

See also

References

No references available.

⚠️ **GitHub.com Fallback** ⚠️