3 Commits (f4462356f6f7635b37ee055e9c4d3eeac6297498)

Author SHA1 Message Date
trivernis d017e8e250
Rewrite server to be asynchronous
Rewrite of the vented server that uses async-std and async tcp
streams. The Protocol itself is unchanged but the api for implementations
needs to be adapted.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 7fb2b5d647
Change read and write behaviour
Read and write is now done in separate threads. Each connections
starts up a read and write thread that lock until a value is retrieved.
Events are handled by one thread in the server. Data is synchronized
via mpmc channels.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9137eeb673
Add error and success callback to AsyncValue
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago