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.
It is read-only, it cannot be assigned to.
__mode
It is always the string v.
It is read-only, it cannot be assigned to.
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) -> ()> = {
read Unbind: (self: EventConnection<Name, Callback>) -> (),
read __index: EventConnectionMetatable<Name, Callback>,
read Disconnect: (self: EventConnection<Name, Callback>) -> (),
read __mode: "v",
}