Interface CommandBuilderContext

Context object for command generation.

interface CommandBuilderContext {
    context: Readonly<CommandBuilderContext>;
    when: ((start, end?) => CommandIntervalBuilder);
    toFilter(mediaType): Filter;
    toString(): string;
}

Properties

Methods

Properties

context: Readonly<CommandBuilderContext>

Access to the context when using destructuring function parameter.

when: ((start, end?) => CommandIntervalBuilder)

Create a interval and return its builder.

Type declaration

Returns

The interval builder.

Methods

  • Return the string representation of this commands description.

    Returns string