Function callback

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

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

auto auto callback(T, Args...) (
  void function(Locator!(), 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!(), T, Args) dg,
  Args args
);

Parameters

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