Skip to contents

Array streams from functions

Usage

narrow_array_stream_function(schema, fun, validate = TRUE)

Arguments

schema

A narrow_schema()

fun

An R function whose return value is converted to a narrow_array() and passed to the caller.

validate

Use FALSE to skip validation of the output of the function against schema.

Value

An object of class "narrow_array_stream"