mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-08-20 15:24:37 +00:00
This commit adds the Connect and Wait methods into session. This gives the user a way to block the program until the session runs into an error or the given ctx is done. In most cases, Connect is useful when combined with signal.NotifyContext, and so Connect is preferred over Open. |
||
---|---|---|
.. | ||
shard | ||
session.go | ||
session_test.go |