Skip to content

Conversation

@tconley1428
Copy link
Contributor

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?


async def run_worker(self, worker: Worker) -> None:
@asynccontextmanager
async def run_worker(self) -> AsyncIterator[None]:
Copy link
Member

@cretz cretz Aug 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

People need to be able to access the worker and its options IMO. Running a replayer is not like running a worker and should not be combined with it IMO. What if it only makes sense for me to do something for activities or Nexus operations? If we want the default implementation of run_worker and run_replayer to delegate to another method called run_worker_or_replayer or something similarly named to represent the combination, we may be able to.

@tconley1428 tconley1428 closed this Aug 4, 2025
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.

3 participants