InteractionSession interface

Module @runic-artifex/views/generated in @runic-artifex/views 0.23.0

interface InteractionSession

The interaction handlers of one open presentation.

Properties

surface

readonly surface: Readonly<Record<string, InteractionSurface>>;

No documentation.

Methods

handlers

handlers(): readonly {
    readonly name: string;
    readonly contract: string;
}[];

The handlers to register with open (generation 0).

opened

opened(registration: string | undefined): void;

The presentation was opened on a connection; registration answers the handlers sent with open.

paused

paused(): void;

The connection closed: the producer ended the presentation's requests.

ready

ready(): Promise<void>;

Resolves when the producer acknowledged the registered handlers.

dispose

dispose(): void;

No documentation.