Data interface for the type of action.

interface IActionParse<T extends IParseMetadata = IParseMetadata> {
    context: IActionContext;
    data: ReadableStream;
    headers?: Headers;
    metadata?: T;
}

Type Parameters

Hierarchy (View Summary)

Properties

The input context that is passed through by actors.

data: ReadableStream

A readable string stream in a certain serialization that needs to be parsed.

headers?: Headers

The returned headers of the final URL.

metadata?: T

Metadata properties to be given to the string stream that needs to be parsed