1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00
arikawa/voice/voicegateway
diamondburned f1f052180b Heart: Improve thread-safety and pace responsiveness
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
2020-12-31 01:32:45 -08:00
..
commands.go Voice: Remove state-keeping of sessions 2020-11-30 19:12:20 -08:00
events.go Voice: Implement Voice Gateway events 2020-11-17 12:15:05 -08:00
gateway.go Heart: Improve thread-safety and pace responsiveness 2020-12-31 01:32:45 -08:00
op.go Voice: Implement Voice Gateway events 2020-11-17 12:15:05 -08:00