Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

🚧 Refactoring to a strategy-based system #3

Open
wants to merge 86 commits into
base: master
Choose a base branch
from
Open

🚧 Refactoring to a strategy-based system #3

wants to merge 86 commits into from

Conversation

t3ned
Copy link
Owner

@t3ned t3ned commented Jun 8, 2021

I will continue to post updates throughout the development process.

Cluster Strategy
A strategy used to configure the clusters that the manage will launch.

  • Strategy interface to add typings for expected strategy results.
  • Add a method to set the cluster strategy that the manager should use.
  • Add a method to fetch the shard count.
  • Add a method to add, remove, and get cluster configs.
  • Add base cluster strategies for plug-and-play implementation.

Connect Strategy
A strategy used to connect the clusters.

  • Strategy interface to add typings for expected strategy results.
  • Add a method to set the connect strategy that the manager should use.
  • Add a method to start a worker.
  • Handle worker instances in the manager.
  • Pass cluster config into a cluster instance.

IPC

  • IPC timeout option
  • fetchGuild
  • fetchChannel
  • fetchUser
  • fetchMember
  • fetchReturn

Other

  • Event webhooks
  • Stats events and methods
  • Synced request handler
  • Handle worker restarts
  • Resharding

@t3ned t3ned added the enhancement New feature or request label Jul 4, 2021
@t3ned t3ned added the v2 label Jul 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant