Data interface for the type of action.

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

Type Parameters

Hierarchy (view full)

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