Function CallbackMethodConfiguratorPolicy.configureMethod

Configre instantiator to call callback from @callback annotation with arguments that are stored in annotation

void configureMethod(string member, T, Z) (
  T instantiator,
  Locator!() locator
);

Parameters

NameDescription
Z component type
member method which is annotated with @callback. It is supposed that callback will use it somehow in logic.
instantiator component factory
locator locator for component dependencies