@devgrid/netron
Version:
Event bus, streams and remote object invocation.
14 lines (13 loc) • 449 B
TypeScript
export type PacketImpulse = 0 | 1;
export declare const TYPE_PING = 0;
export declare const TYPE_GET = 1;
export declare const TYPE_SET = 2;
export declare const TYPE_CALL = 3;
export declare const TYPE_TASK = 4;
export declare const TYPE_STREAM = 5;
export type PacketType = typeof TYPE_GET | typeof TYPE_SET | typeof TYPE_CALL | typeof TYPE_TASK | typeof TYPE_STREAM;
export declare enum StreamType {
FIRST = 1,
MIDDLE = 2,
LAST = 3
}