EventConnectionMetatable
Disconnect(self)
Disconnects the event connection, meaning the callback will no longer be ran when the event is fired.
It has no parameters.
It has no return values.
Unbind(self)
It has no parameters.
It has no return values.
__index
It is of the type EventConnectionMetatable
.
__mode
It is always the string v
.
Luau Type
This is the luau type for EventConnectionMetatable
. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).
type EventConnectionMetatable<Name = string, Callback = (...unknown) -> ()> = {
Unbind: (self: EventConnection<Name, Callback>) -> (),
__index: EventConnectionMetatable<Name, Callback>,
Disconnect: (self: EventConnection<Name, Callback>) -> (),
__mode: "v",
}