mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
7 lines
228 B
TypeScript
7 lines
228 B
TypeScript
import { BackendService } from '../../services/BackendService';
|
|
|
|
export function ping(pingReceived: Function): void {
|
|
BackendService.sendSessionCommand('Command_Ping', {}, {
|
|
onResponse: (raw) => pingReceived(raw),
|
|
});
|
|
}
|