Skip to content

Add support for a coroutine task type #241

Open
@lewissbaker

Description

@lewissbaker

To improve the user-experience of sender/receiver we should also provide a coroutine task type that allows users to implement and consume senders by writing a coroutine.

Some basic requirements:

  • ability to customize the allocation
  • ability to customize the set of receiver queries to be forwarded through to children of the coroutine
  • ability to specify a scheduler and ensure that the coroutine always resumes on that scheduler
  • ability to automatically propagate stop-requests through the coroutine to awaited child operations
  • ability for a task coroutine to complete with a 'stopped' result

Other things to consider:

Metadata

Metadata

Assignees

Labels

P0coroutinesIssues relating to coroutine support.enhancementNew feature or requestneeds-proposed-resolutionThis issue does not yet have a proposed resolution but needs one

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions