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
So, I have a function that return Reader<Deps1, Task<bool>> called waitForAuthenticated() and a second function that return Reader<Deps2, Task<R>> called getSomething(), is there a better way to compose both reader?
I have tried to use
var task1 =waitForAuthenticated().run(_deps1);
var task2 =getSomething().run(_deps2);
// ...// At the outside part of my code / public facing APItask1(task2).run();
But then, I kind of "dislike" calling .run() method on reader as it make my reader not lazy now, is there a better way to do this without calling .run() method on my reader?
The text was updated successfully, but these errors were encountered:
So, I have a function that return
Reader<Deps1, Task<bool>>
calledwaitForAuthenticated()
and a second function that returnReader<Deps2, Task<R>>
calledgetSomething()
, is there a better way to compose both reader?I have tried to use
But then, I kind of "dislike" calling
.run()
method on reader as it make my reader not lazy now, is there a better way to do this without calling.run()
method on my reader?The text was updated successfully, but these errors were encountered: