Learn R Programming

gooseR (version 0.1.0)

goose_pipeline: Create Async Query Pipeline

Description

Chain multiple async operations together

Usage

goose_pipeline(...)

Value

A promise chain

Arguments

...

Query functions or strings

Examples

Run this code
if (FALSE) {
goose_pipeline(
  "Write a data analysis function",
  ~ paste("Add error handling to:", .),
  ~ paste("Add documentation to:", .),
  ~ paste("Create tests for:", .)
) %...>% { cat("Final result:", .) }
}

Run the code above in your browser using DataLab