Skip to content

Type Alias: PathParams

API / @xmachines/play-pattern / PathParams

type PathParams = Readonly<Record<string, unknown>>;

Defined in: play-pattern/src/pattern-grammar.ts:681

The values that a caller gives, keyed by the declared name of the param.

The value is unknown, because a caller reads it from the context of an actor and that context carries whatever the machine put there. buildPath calls String on a value that is neither undefined nor null.