-spec hook(fun(({atom(), options()}) -> {ok,
module()} |
undefined),
classy_hook:prio()) -> classy_hook:hook().
Register a discovery strategy.
Callbacks registered here match on the discovery_strategy configuration
and return callback module implementing classy_discovery_strategy behavior.
The first hook that returns {ok, Module} wins
and handles all the callbacks for the next discovery cycle.