Skip to contents

Stops execution when the specified state channel contains a string matching pattern.

Usage

text_match(pattern, channel = "messages")

Arguments

pattern

Character. Passed to base::grepl().

channel

Character. Name of the state channel to inspect.

Value

A termination_condition S3 object.

Examples

cond <- text_match("DONE", channel = "status")