UNPKG

@ohd-tools/rcon

Version:

An RCON Interface for Operation: Harsh Doorstop

10 lines (9 loc) 405 B
import type { OHD } from '../OHD'; import { VariableChanged } from '../definitions/VariableChanges'; import { VariableRead } from '../definitions/VariableRead'; export interface Readable<T> { read: () => Promise<T>; readDetailed: () => Promise<VariableRead>; write: (newValue: T) => Promise<VariableChanged>; } export declare function setupVariableProxy<T extends object>(controller: OHD): T;