diff options
| author | Zeyla Hellyer <[email protected]> | 2017-11-20 20:46:25 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-11-20 20:46:25 -0800 |
| commit | 05f6ed429aeac1920307ea692fef122bbd2dffff (patch) | |
| tree | 731e440a53cf37c35971277adefd320da4de1e77 /src/framework | |
| parent | Fix no-gateway compilation (diff) | |
| download | serenity-05f6ed429aeac1920307ea692fef122bbd2dffff.tar.xz serenity-05f6ed429aeac1920307ea692fef122bbd2dffff.zip | |
Remove client close handle
Remove the client's close handle. This was eclipsed by the
`client::bridge::gateway::ShardManager`, which is a public interface
giving full control over connected shards owned by the instance of the
client (as opposed to the purpose of the handle which was a simple
"shutdown" signal).
Additionally, more documentation has been added to
`Client::shard_manager`, now including a sample scenario of how to
shutdown the bot after some amount of time has passed.
Upgrade path:
Refer to the documentation for `Client::shard_manager` on a sample
scenario on how to switch from the close handle to the ShardManager.
Diffstat (limited to 'src/framework')
0 files changed, 0 insertions, 0 deletions