theater-client
Version:
TypeScript client library for Theater actor system TCP protocol
32 lines (25 loc) • 802 B
text/typescript
/**
* Theater Client Library
* A hygienic, connection-per-operation TypeScript client for the Theater actor system
*/
// Main client class
export { TheaterClient } from './client/TheaterClient.js';
// Actor wrapper
export { Actor } from './client/Actor.js';
// Connection management
export { TheaterConnection } from './connection/TheaterConnection.js';
// Stream implementations
export { ChannelStreamImpl } from './client/ChannelStream.js';
export { ActorEventStreamImpl } from './client/ActorEventStream.js';
// Type exports
export * from './types/index.js';
// Utility exports
export { createLogger, setLogLevel } from './utils/logger.js';
export {
uint8ArrayToNumbers,
numbersToUint8Array,
encodeString,
decodeString,
encodeJson,
decodeJson
} from './utils/serialization.js';