@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias Invocation

    One operation and the input to run it with.

    type Invocation = {
        clipboard?: (output: unknown) => string | undefined;
        input: unknown;
        operation: Operation.Definition.Any;
    }
    Index

    Properties

    clipboard?: (output: unknown) => string | undefined

    Picks the text to place on the clipboard out of the operation's output.

    The host opens the clipboard write inside the click and fills it once the output arrives: WebKit (Safari, the desktop webview) rejects a write that starts after the gesture has been lost to an await, so an operation handler cannot copy for itself.

    input: unknown
    operation: Operation.Definition.Any