Interface Hydrator

The hydrator service is responsible for allowing AST parse results to be sent across worker threads.

interface Hydrator {
    dehydrate(result: ParseResult<AstNode>): ParseResult<object>;
    hydrate<T>(result: ParseResult<object>): ParseResult<T>;
}

Implemented by

Methods