Hello, I would like know what is the difference between bindable events and bindable functions to know when I must use bindable events and when I must use bindable functions.
1 Like
Bindable events do not yield and wait for a response. Bindable functions do yield and wait for a response
Bindable event
bindableEvent:Fire()
bindableEvent.Event:Connect(function(parameters)
--code
end)
and then bindableFunction usage
bindableFunction:Invoke(parameters)
bindableFunction:OnInvoke = function(parameters)
--Code
end
1 Like