EventLogServer
Constructors
makeHandler
Added in v1.0.0
Source
Signature
declare const makeHandler: Effect.Effect<
(socket: Socket.Socket) => Effect.Effect<void, Socket.SocketError, Scope.Scope>,
never,
Storage
>;Storage
layerStorageMemory
Added in v1.0.0
Source
Signature
declare const layerStorageMemory: Layer.Layer<Storage>;makeStorageMemory
Added in v1.0.0
Source
Signature
declare const makeStorageMemory: Effect.Effect<typeof Storage.Service, never, Scope.Scope>;PersistedEntry
Added in v1.0.0
Source
Signature
declare class PersistedEntry extends {
[key: string]: any;
} {
[key: string]: any;
constructor(...args: [props?: {
[key: string]: any;
}, options?: MakeOptions]);
static encode: (input: any, options?: ParseOptions) => any;
static fromMsgPack: any;
entryIdString: string;
}Signature
declare class Storage extends any {
constructor();
}Websockets
makeHandlerHttp
Added in v1.0.0
Source
Signature
declare const makeHandlerHttp: Effect.Effect<
Effect.Effect<
HttpServerResponse.HttpServerResponse,
HttpServerError.RequestError | Socket.SocketError,
HttpServerRequest.HttpServerRequest | Scope.Scope
>,
never,
Storage
>;