mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 15:43:13 +09:00
Fixed TestControl subscription requests
This commit is contained in:
3 files changed
+15
-12
No files matched your search
@@ -121,11 +121,11 @@ export class SubscriptionController {
|
||||
* Allow clients to subscribe to an event by telling the subscription controller to accept them
|
||||
* Has an optional subscription update handler which is called when any client updates their subscription
|
||||
*/
|
||||
handle<T>(Event: EventClass<T>, subscriptionUpdate?: SubscriptionRequestHandler<T>, channelCategoriser?: SubscriptionChannelCategoriser<T>): void;
|
||||
handle<T>(Event: EventClass<T>, channelCategoriser?: SubscriptionChannelCategoriser<T>, subscriptionUpdate?: SubscriptionRequestHandler<T>,): void;
|
||||
handle(
|
||||
Event: EventClass<unknown>,
|
||||
subscriptionUpdate?: SubscriptionRequestHandler<unknown>,
|
||||
channelCategoriser?: SubscriptionChannelCategoriser<unknown>,
|
||||
subscriptionUpdate?: SubscriptionRequestHandler<unknown>,
|
||||
) {
|
||||
const entry = Link._eventsByClass.get(Event);
|
||||
if (!entry) {
|
||||
|
||||
Reference in new issue
Block a user