Skip to content

Commit

Permalink
Fix DisconnectAll missing from Event type
Browse files Browse the repository at this point in the history
  • Loading branch information
hoontee committed Sep 24, 2024
1 parent 7a56854 commit 2b96a0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pronghorn/New.luau
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ export type Event = {
Connect: (self: Event, callback: Callback) -> (Connection);
Once: (self: Event, callback: Callback) -> (Connection);
Wait: (self: Event, timeout: number?) -> (any);
DisconnectAll: (self: TrackedVariable) -> ();
}
export type TrackedVariable = {
Get: (self: TrackedVariable) -> (any);
Set: (self: TrackedVariable, value: any) -> ();
Connect: (self: TrackedVariable, callback: Callback) -> (Connection);
Once: (self: TrackedVariable, callback: Callback) -> (Connection);
Wait: (self: TrackedVariable, timeout: number?) -> (any);
DisconnectAll: (self: TrackedVariable) -> ();
}

-- Constants
Expand Down

0 comments on commit 2b96a0f

Please sign in to comment.