Skip to content

Change default CoroutineContext from empty to default for the RibCoroutineWorker<>Worker conversion#608

Merged
FranAguilera merged 1 commit into
uber:mainfrom
FranAguilera:change_as_worker_dispatcher_to_default
Aug 10, 2023
Merged

Change default CoroutineContext from empty to default for the RibCoroutineWorker<>Worker conversion#608
FranAguilera merged 1 commit into
uber:mainfrom
FranAguilera:change_as_worker_dispatcher_to_default

Conversation

@FranAguilera

@FranAguilera FranAguilera commented Aug 10, 2023

Copy link
Copy Markdown
Collaborator

Description:

Currently com.uber.rib.core.RibCoroutineWorker to com.uber.rib.core.Worker (.asWorker()) is using EmptyCoroutineContext for binding when the coroutineContext is not specified in .asWorker() call

Related issue(s):

This results in changing the RibDispatchers.Default dispatcher on the original RibCoroutineWorker which results on binding the converted worker on RibDispatchers.Unconfined

@FranAguilera FranAguilera force-pushed the change_as_worker_dispatcher_to_default branch from 2e40bd1 to 94fffa8 Compare August 10, 2023 17:21
@FranAguilera FranAguilera merged commit 1f8839b into uber:main Aug 10, 2023
@FranAguilera FranAguilera deleted the change_as_worker_dispatcher_to_default branch August 10, 2023 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants