You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
Hey @inamiy! I'm testing out RxAutomaton in favor of SwiftState for a state machine that models the CoreBluetooth's CBCentralManager.
The issue I'm running into is handling an input with parameters. For example, my "discovered bluetooth peripheral" input takes an argument rssi: Int (case discovered(rssi: Int)).
(Here are all of my inputs):
If I try to compose my mappings, I get an error saying expects argument of type (rssi: Int):
Which I can fulfill by explicitly specifying some integer amount, but I'd like to be allow the mapping to take effect for every .discovered input, regardless of integer amount. Is that currently possible with RxAutomaton?
The text was updated successfully, but these errors were encountered:
Hey @inamiy! I'm testing out RxAutomaton in favor of SwiftState for a state machine that models the CoreBluetooth's
CBCentralManager
.The issue I'm running into is handling an input with parameters. For example, my "discovered bluetooth peripheral" input takes an argument
rssi: Int
(case discovered(rssi: Int)
).(Here are all of my inputs):
If I try to compose my mappings, I get an error saying
expects argument of type (rssi: Int)
:Which I can fulfill by explicitly specifying some integer amount, but I'd like to be allow the mapping to take effect for every .discovered input, regardless of integer amount. Is that currently possible with RxAutomaton?
The text was updated successfully, but these errors were encountered: