all: support thread handles and wait() for functions returning optionals (#8990)

This commit is contained in:
Uwe Krüger 2021-02-27 09:16:55 +01:00 committed by GitHub
parent aed348fb80
commit f67bff1696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 242 additions and 15 deletions

View file

@ -49,6 +49,6 @@ fn start_client() ?&websocket.Client {
ws.connect() or { println(term.red('error on connect: $err')) }
go ws.listen() or { println(term.red('error on listen $err')) }
go ws.listen() // or { println(term.red('error on listen $err')) }
return ws
}