Pattern for matching Resource states, used with matchWith.
matchWith
The type of the data in Data state.
Data
The type of optional parameters.
The return type of the pattern functions.
Pattern for matching Resource states, used with
matchWith
.