Longrunning tasks
See original GitHub issueI still have problems in understanding how long running tasks can be handled with this library.
Assume I have an media player which has an Observable that emits the current playback position. My approach here is to subscribe to that observable when the view gets attached and unsubscribe when the view gets detatched.
However, FragmentMvpDelegateImpl shows that the view is attached between onViewCreated
and onViewDestroyed
. But that also means that the view gets constantly updated when the screen is off which is obviously bad.
Is there a way to handle these kind of scenarios using mosby?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
What does "long-running tasks" mean? - Stack Overflow
The means that if you run a large number of threads where they each take a minute to start but only run for...
Read more >Long-Running Tasks in a Monolith ASP.NET Core Application
In this article, we're going to explore the different ways we can implement such a long-running task in an ASP.NET Core Web API....
Read more >Create A Long Running Task In C#.NET Core
In today's article we will look at creating such a long running task. We will pass to it the function that needs to...
Read more >Design Patterns for Handling Long-running Tasks
Design Patterns for Handling Long-running Tasks · Introduction · Problem · Outbox Pattern · Asynchronous Request-Reply Pattern · Conclusion.
Read more >Async processing of long-running tasks in ASP.NET Core
Sometimes, invoking an API endpoint needs to trigger a long-running task. Examples of this could be invoking an external and slow API or ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Isn’t this breaking separation of layers a little bit, i.e. View bypasses the Presenter talks with Model.
Yes this is where I came from. And this is why I asked the question.