Shared
CreateCallback
Function to create a callback in the current side
function HRLib.CreateCallback(name: string, isLocal: boolean?, cb: any)
Parameters description
name
- callback's nameisLocal
- sets whether or not the callback to be localcb
- callback's value. Can be anything or function with return value
Last updated