ROOC
    Preparing search index...

    Class RoocRunnablePipe

    The RoocRunnablePipe allows to run a series of pipes on a source code, each pipe transforms the data from one type to another The output of the previous pipe is the input of the next pipe

    Index
    instance: WasmPipeRunner
    • Run the pipe on a source code

      Parameters

      • source: string

        the source code to run the pipe on

      • data: ConstantEntry[] = []

        additional data provided to the runtime

      • fns: RoocFunction<[string, SerializedPrimitiveKind][]>[] = []

        additional functions that can be used in the transformation process

      Returns Result<RoocData[], { error: string; context: RoocData[] }>

      each step of the pipe returns some data, if there was an error, it's previous context is returned too