Interface IActionContextKey<V>

Keys that can be used within an IActionContext.

To avoid entry conflicts, all keys must be properly namespaced using the following convention: Each key name must be prefixed with the package name followed by a :. For example, the query-operation bus declares the operation entry, which should be named as @comunica/bus-query-operation:operation.

interface IActionContextKey<V> {
    dummy: undefined | V;
    name: string;
}

Type Parameters

  • V

Implemented by

Properties

Properties

dummy: undefined | V

A dummy field that we must define to make TypeScript bind the type V, otherwise it would always be any. This field will be undefined, so it will never exist in JavaScript.

name: string