adventofcode.com/2024/day/4
#AdventOfCode
adventofcode.com/2024/day/4
#AdventOfCode
Fleet is smooth though.
Fleet is smooth though.
github.com/prudhvir3ddy...
github.com/prudhvir3ddy...
adventofcode.com/2024/day/3
#AdventOfCode
adventofcode.com/2024/day/3
#AdventOfCode
adventofcode.com/2024/day/2
#AdventOfCode
adventofcode.com/2024/day/2
#AdventOfCode
adventofcode.com/2024/day/1
#AdventOfCode
adventofcode.com/2024/day/1
#AdventOfCode
😅 do you have static lint check for global exception handling not having timber usage?
Manual reviews can’t be trusted.
😅 do you have static lint check for global exception handling not having timber usage?
Manual reviews can’t be trusted.
You can read this amazing blog manuelvivo.dev/coroutines-can…
It mentions about usage of CoroutineExceptionHandler
But sometimes you don't want to use it as it's global and prefer run-catching. You can use 👇 gist
You can read this amazing blog manuelvivo.dev/coroutines-can…
It mentions about usage of CoroutineExceptionHandler
But sometimes you don't want to use it as it's global and prefer run-catching. You can use 👇 gist
1. We shouldn't be logging it.
2. We shouldn't even be catching it - ?
We need to tell the coroutineScope that this particular operation got cancellation
Only then structured concurrency will work as expected
1. We shouldn't be logging it.
2. We shouldn't even be catching it - ?
We need to tell the coroutineScope that this particular operation got cancellation
Only then structured concurrency will work as expected
If user makes a network request for which the code is under a scope which is tied to a lifecycle of that screen
And user goes to some other screen before it completes.
Below code does that automatically.
Now that code will trigger a CancellationException.
If user makes a network request for which the code is under a scope which is tied to a lifecycle of that screen
And user goes to some other screen before it completes.
Below code does that automatically.
Now that code will trigger a CancellationException.
You will notice your error 🐞 logs are filled up with CancellationException
Should that be something you should be worrying about? Yes and No.
Yes, you need to fix your code.
No, you can't do anything about cancellation exception.
You will notice your error 🐞 logs are filled up with CancellationException
Should that be something you should be worrying about? Yes and No.
Yes, you need to fix your code.
No, you can't do anything about cancellation exception.
Thanks for creating this.
Thanks for creating this.