Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Server<E>

Type parameters

  • E

Hierarchy

  • Disposable
    • Server

Index

Properties

None

None: { dispose: () => void }

Empty Disposable

Type declaration

  • dispose: () => void
      • (): void
      • Returns void

Readonly dispose

dispose: () => void

Type declaration

    • (): void
    • Returns void

lazy

lazy: () => LazyDisposable

Create a disposable that is lazily created

Type declaration

    • (): LazyDisposable
    • Returns LazyDisposable

Readonly registerNotification

registerNotification: <E2, A>(method: A["method"], handler: NotificationHandler<E2, A>) => HookEffects<E & E2, Disposable>

Type declaration

Readonly registerRequest

registerRequest: <E2, A, B>(method: A["method"], handler: RequestHandler<E2, A, B>) => HookEffects<E & E2, Disposable>

Type declaration

Generated using TypeDoc