We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I find that it is hard to test the event creation.For example i want to query some every 10s.And i write this in
viewDidLoad
method.I'm wandoring how to test the request produce and the event created in the right way?
let query: (Driver<State>) -> Signal<Event> = react( request: {state -> QueryRequest? in .... return QueryRequest() }, effects: {request in return Signal.just(Event.query) }) Driver<Any>.system( initialState: State(), reduce: State.reduce, feedback: query ) .drive() .disposed(by: self.rx.disposeBag)
It seams the only way is run the app and debug.So, is anyone has the same problem as me?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I find that it is hard to test the event creation.For example i want to query some every 10s.And i write this in
method.I'm wandoring how to test the request produce and the event created in the right way?
It seams the only way is run the app and debug.So, is anyone has the same problem as me?
The text was updated successfully, but these errors were encountered: