jason-c-daniels / jcd.tasks Goto Github PK
View Code? Open in Web Editor NEW[ARCHIVED] A netstandard2.0 library that provides utility classes to help with creating and managing unstarted Tasks.
License: MIT License
[ARCHIVED] A netstandard2.0 library that provides utility classes to help with creating and managing unstarted Tasks.
License: MIT License
Add more TryWaitAsync overloads, to match TryWait
Give a 1 to 1 parity in overloads and parameters.
Remove TryWaitAsync - I use it in the test apps, and it seems useful. That's why I want more of them. :-)
APIs with parallel xAsync APIs should always offer the same overloads only varying by return type. (Task/Task)
Find a better name for Cancel on BlockingTaskProcessor
The name is misleading. It does more than just cancel task execution.
Appropriately named APIs are less likely to suffer misuse.
BlockingTaskProcessor
is completely lacking unit tests.
This is to demonstrate it functions as expected.
Find and use a robust implementation of LimitedConcurrencyTaskScheduler in BlockingTaskProcessor.
Best practices adherence.
According to articles by the experts and (former?) implementers of Tasks within .Net there are some "bad practices" currently going on in BlockingTaskProcessor. One of these is BlockingTaskProcessor is not using a proper TaskScheduler in order to start the tasks being executed.
https://devblogs.microsoft.com/pfxteam/faq-on-task-start/
https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.paralleloptions?view=net-7.0
Write direct unit tests against TryEnqueueTask overloads.
This ensures the method has adequate testing.
Finish summary comments in TaskExtensions
Summary comments are used to generate API documentation. Having these incomplete leaves the API documentation incomplete.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.