commits
- Drop output,input and pollables first
- Added enhancements to remove the finished pollables after completed.
- Implemented Read and Write futures and functions
- keep accept socket in scope
- for now keep connections in finished queue
- limit the amount of values that can be polled
- Fixed the tests
- Added support for asynchronous bind, listen and accpet
- remove common socket code to inner socket
- have common poll enum to facilitate poll pattern
- checking for key in both pending and finishing queue
- static instance network
- Removed issue of rescheduling tasks over and over again
- Support for JoinHandle after task is spawned
- Added queue to drain spawned tasks
- remove timers after they are used
- Added shutdown mechanism in socket
- put future-tasks and timers behind Rwlock since Dashmap is not supported in Wasm
Instead of the lock around the reactor:
- use dashmaps on the future tasks
- use mutex for the poll tasks
- use integrated tests for testing functionality
- Added timeout future funcitonality
- changes variable names
- replace i with UUID
- remove the need to increment everytime
- depend on key
- Use AtomicBool as a flag for this async runtime
- Implement Default for future task which ensures first time polling
- implement some helper functions
- Added Task Queue to hold tasks which have been woken up
- Moved Task Queue to Reactor
- Able to spawn concurrent Tasks
- Ends the loop whenever each queue is empty
- Io devices now add waker whenever they register
- Added recieve timeout that checks which queues can be awoken
- move poll-tasks polling function from stream to regular function
- timers no longer interact with the reactor and are evaluated on each loop
- async operations that interact with the reactor do so by registering with the global Reactor
- Added Global reactor
- Added asynchronous socket connection
- removed current example files, they will be introduced later
- Added ability to create a socket from Wasm for both ipv4 and ipv6
- Added ability to connect to a socket from Wasm
- Modified Wit files to contain socket deps
- Added Ability to create Wasi Sockets
- Managed conversion between IpAddr and IpAddressFamily
- Managed conversion between ErrorCodes and ErrorKind
- Changed naming from add_to_queue to subscription
- Added subscribe_instant funciton
- Refactored pollTasks
- Encapsulated subscribe_duration into Type
- Removed Wit Deps for examples
- Added Examples using Timers
- Upgraded Deps
- Changed Wasi Polling Algorithm
- Drop output,input and pollables first
- Added enhancements to remove the finished pollables after completed.
- move poll-tasks polling function from stream to regular function
- timers no longer interact with the reactor and are evaluated on each loop
- async operations that interact with the reactor do so by registering with the global Reactor
- Added Global reactor
- Added asynchronous socket connection
- removed current example files, they will be introduced later