Comunica
    Preparing search index...

    Data interface for the type of action.

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

    Type Parameters

    Hierarchy (View Summary)

    Index

    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

    url?: string

    The URL the data was obtained from, which identifies the data in messages such as errors. Data that was not obtained from a URL (such as a serialized source) describes where it comes from instead.