Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Kir_Antipovâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #278044 |
Post edited: |
— | over 4 years ago |
Edit | Post #278044 |
Post edited: |
— | over 4 years ago |
Edit | Post #278044 | Initial revision | — | over 4 years ago |
Question | — |
Which abstraction should I choose for background services and why? Which concept is best for managed background services? 1. `RunAsync(CancellationToken)`: ```csharp interface IWorker { Task RunAsync(CancellationToken cancellationToken = default); } ... IWorker worker = ...; var source = new CancellationTokenSource(); = worker.RunAsync(source.... (more) |
— | over 4 years ago |