Interface Resource

interface Resource {
    doCommand: ((command) => Promise<StructType>);
}

Hierarchy (view full)

Properties

Properties

doCommand: ((command) => Promise<StructType>)

Send/Receive arbitrary commands to the resource.

Type declaration

    • (command): Promise<StructType>
    • Send/Receive arbitrary commands to the resource.

      Parameters

      Returns Promise<StructType>

Param: command

The command to execute.

Generated using TypeDoc