Add blocking mode support

This commit is contained in:
jar3b
2019-04-09 17:50:55 +03:00
parent f8e923b600
commit a980f1f8d2
2 changed files with 16 additions and 4 deletions

View File

@@ -10,5 +10,5 @@ waiter.AddCloseHandler(func() {
nacl.FinalizeStan()
}, false)
waiter.Wait()
waiter.Wait(true)
```