Skip to main content

Parameters

Selector Return Types

The selector function can return any of the following:

Selector Function Signatures

Basic Signature

Extended Signature (with step_choices)

The step_choices parameter provides access to the prepared Step objects from Router.choices, enabling dynamic selection based on available options.

Async Support

Both signatures support async functions: