Domain icon indicating copy to clipboard operation
Domain copied to clipboard

Allow passing a cancellation token to the domain

Open corstian opened this issue 1 year ago • 0 comments

When a service contains a long-running operation, allow passing a cancellation token which the domain can respond to. This cancellation token should be accessible from the context within a service.

While the primary use case is for use within a service, consider whether this would be useful in a saga, command or event handler as well.

corstian avatar Apr 02 '24 10:04 corstian