Function callback

Annotation that specifies a delegate to be used to configure component somehow.

auto auto callback(T, Args...) (
  void delegate(Locator!(), ref T, Args) dg,
  Args args
);

auto auto callback(T, Args...) (
  void function(Locator!(Object,string), ref T, Args) dg,
  Args args
);

auto auto callback(T, Args...) (
  void delegate(Locator!(), T, Args) dg,
  Args args
);

auto auto callback(T, Args...) (
  void function(Locator!(Object,string), T, Args) dg,
  Args args
);

Parameters

NameDescription
Z the type of component that will be returned by the delegate
Args type tuple of args that can be passed to delegate.