Server.ts overview
Since v1.0.0
Exports Grouped by Category
constructors
run
Signature
declare const run: <R, E, _>(
handle: (client: Client) => Effect.Effect<_, E, R>
) => Effect.Effect<never, SocketServer.SocketServerError, R | SocketServer.SocketServer>
Since v1.0.0
models
Client (interface)
Signature
export interface Client {
readonly queue: Mailbox.ReadonlyMailbox<Domain.Request.WithoutPing>
readonly request: (_: Domain.Response.WithoutPong) => Effect.Effect<void>
}
Since v1.0.0