Added some await pattern and added a scheduler to the stdlib. Broken! (0.39.13)
This commit is contained in:
parent
ffdb9fffcb
commit
4956e44e60
7 changed files with 304 additions and 3 deletions
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <io/socket.fun>
|
||||
|
||||
port = 8088
|
||||
port = 8080
|
||||
srv = TcpServer(port, 10)
|
||||
if (srv.listen() <= 0)
|
||||
print("HTTP static server: listen failed on :" + to_string(port))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue