Function callbackDestructor

Use callback stored in annotation to destroy a component of type T

CallbackDestructor callbackDestructor(T, Dg, Args...) (
  Dg dg,
  Args args
);

Parameters

NameDescription
dg callback used to destroy the component
args arguments passed to callback to destroy the component