Commit graph

45 commits

Author SHA1 Message Date
Ell 02d16ee81d added a logo and added readme to package 2021-11-07 15:29:40 +01:00
Ell 07623ddc1a Fixed an issue with removing event-based coroutines after several event calls
Fixes #14
2021-04-08 19:31:11 +02:00
Ell 5dc11e0d26 update 2021-03-21 18:07:30 +01:00
Zaafar 889ed157fe Removed Avg, Max and added raw stats i.e LastMoveNextTime 2021-03-21 12:54:21 -04:00
Ell 0e5b571590 cleanup 2021-03-21 02:02:11 +01:00
Ell 0de8a0dd2d split outstanding coroutines into two lists to improve performance slightly 2021-03-21 01:58:16 +01:00
Ell 10590841d2 only move coroutines that relate to the required type 2021-03-20 21:24:18 +01:00
Ell 19e8a74d2b use default initial capacity when creating event coroutine collection 2021-03-20 21:21:05 +01:00
Ell 42360014d8 use sets for eventCoroutinesToRemove to speed up Contains check 2021-03-20 15:24:25 +01:00
Ell 501d744326 increase performance and scalability by storing event coroutines linked to their event 2021-03-20 15:13:39 +01:00
Ell ff8749a799 Ensure that event coroutines never get duplicated when duplicate events are raised 2021-03-20 03:23:04 +01:00
Ell cf1b3c2db0 added a convenience method that accepts a TimeSpan for Tick 2021-03-20 02:00:46 +01:00
Ell 9f4d43d730 clean up recent pull request a bit 2021-03-20 01:50:00 +01:00
Zaafar 469527cd87 name changes 2021-03-19 19:55:32 -04:00
Zaafar 3998cd92d7 added another test-case
also, provided a fix.
2021-03-19 18:37:17 -04:00
Ell c26d0cbeb0 cleaned up tests and integrated them with ci 2021-03-18 16:38:34 +01:00
Ell 47dbd8bf25 update 2021-03-17 01:17:16 +01:00
Ell 6e07a26a6c fixed some race conditions with nested coroutines 2021-03-17 01:13:57 +01:00
Ell ffdb5ed8f7 revert back to using for loops to allow for nested coroutines to work correctly
Closes #6
2021-03-17 00:38:44 +01:00
Ell 448a55081b minor cleanup 2021-03-16 19:10:25 +01:00
Ell c68121614f added coroutine priority
Closes #6
2021-03-16 19:07:28 +01:00
Ell 5c6621ace3 use Equals for event comparison to allow easily overriding the equals method 2021-03-16 18:28:38 +01:00
Zaafar 013b846fbc added MaxMoveNextTime Stat to ActiveCoroutine. 2021-01-01 00:27:34 -05:00
Ell 2453232fd2 update 2020-12-20 17:14:24 +01:00
Ell d3b34154ad Added some statistics to coroutines
It took me half a year, but closes #4
2020-12-20 17:12:43 +01:00
Ellpeck ec08d6e314 update 2020-06-13 03:13:10 +02:00
Ellpeck ca2350592e documentation 2020-06-13 03:12:26 +02:00
Ellpeck f199112d99 allow coroutine handler instancing. Actually solves #2 2020-06-13 03:02:11 +02:00
Ellpeck b4874dd365 overhaul the coroutine system to avoid boxing 2020-06-13 02:58:54 +02:00
Ellpeck ae6e4924ec update 2020-05-19 16:14:06 +02:00
Ellpeck a3af44becb Fixed empty coroutines throwing a NRE
Closes #3
2020-05-19 16:06:38 +02:00
Ellpeck fa4d021368 fixed cancellation causing the wrong coroutines to be stopped 2020-03-26 02:30:29 +01:00
Ellpeck 53e10da875 test 2020-03-26 02:17:34 +01:00
Ellpeck 99aab497e5 Revert "synchronize coroutines to allow interaction from different threads"
This reverts commit 708941ff
2020-03-26 01:48:02 +01:00
Ellpeck 708941ff01 synchronize coroutines to allow interaction from different threads 2020-03-26 01:35:37 +01:00
Ellpeck b850b3bae0 allow getting a list of all active coroutines 2020-03-24 23:47:27 +01:00
Ellpeck bf792e3e73 allow stopping coroutines 2020-03-22 22:28:19 +01:00
Ellpeck 99de4c0072 update 2020-02-28 22:42:02 +01:00
Ellpeck 3422543fe9 fixed the version not being a prefix 2020-02-28 22:34:08 +01:00
Ellpeck d6ad4e1f2c allow querying finish states of coroutines 2020-02-28 22:27:38 +01:00
Ellpeck 0642b84085 update 2019-11-20 11:32:23 +01:00
Ellpeck 2025d6762a made waits structs and added invokelater 2019-11-20 11:30:28 +01:00
Ellpeck a50403686a update to .net core 2019-08-05 19:16:04 +02:00
Ellpeck a7ee8cdac0 publish the thing 2019-06-23 01:29:11 +02:00
Ellpeck bd525cb85a the actual thing 2019-06-22 17:24:50 +02:00