mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-11-25 21:55:47 +00:00
This commit consists of these smaller commits:
Gateway: SessionID to be a method for thread safety
This commit breaks the SessionID field of the Gateway struct to
be thread-safe by wrapping its access with a read-write mutex.
As this is a bug fix, it is reasonable of a breaking change
Heart: Allow later binding of event channel
Voice: Use the new Heart API
Heart: Fixed data races
Heart: Allow changing pace, thread-safe Heartbeat
|
||
|---|---|---|
| .. | ||
| heart.go | ||