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

Loaders and Loadables #196

Open
Gawdl3y opened this issue Sep 26, 2018 · 1 comment
Open

Loaders and Loadables #196

Gawdl3y opened this issue Sep 26, 2018 · 1 comment
Milestone

Comments

@Gawdl3y
Copy link
Member

Gawdl3y commented Sep 26, 2018

Currently, the registry handles fancy loading, unloading, and reloading of commands. In order to make this logic reusable for things other than commands, this logic will need to be abstracted out into a Loader/Loadable system.

This was referenced Sep 26, 2018
@Gawdl3y Gawdl3y added this to the 1.0 milestone Sep 26, 2018
@brandonbothell
Copy link
Contributor

  • Would a Loader just have load, unload, and reload methods?
  • Would a Loadable just have unload and reload methods?
  • Would there be checks to make sure that a Loadable can only be loaded/unloaded/reloaded by a Loader that is compatible with it using a property on the Loader like an array of classes that can be loaded by the Loader?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants