Skip to content

EventLogServer

6 exports Added in v1.0.0 Source

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

Signature

declare const layerStorageMemory: Layer.Layer<Storage>;

Signature

declare const makeStorageMemory: Effect.Effect<typeof Storage.Service, never, Scope.Scope>;

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;
}

Storage

Added in v1.0.0 Source

Signature

declare class Storage extends any {
  constructor();
}

Websockets

Signature

declare const makeHandlerHttp: Effect.Effect<
  Effect.Effect<
    HttpServerResponse.HttpServerResponse,
    HttpServerError.RequestError | Socket.SocketError,
    HttpServerRequest.HttpServerRequest | Scope.Scope
  >,
  never,
  Storage
>;