UNPKG

@colyseus/core

Version:

Multiplayer Framework for Node.js.

4 lines (3 loc) 370 B
import { Presence } from './presence/Presence.js'; export declare function requestFromIPC<T>(presence: Presence, publishToChannel: string, method: string, args: any[], rejectionTimeout?: number): Promise<T>; export declare function subscribeIPC(presence: Presence, processId: string, channel: string, replyCallback: (method: string, args: any[]) => any): Promise<void>;