type Callback is access function (D : in Data_Type) return Boolean;
type Destroy_Callback is access procedure (D : in out Data_Type);
function Add
| ( | Cb | : in Callback; |
| D | : in Data_Type; | |
| Priority | : in Idle_Priority := Priority_Default_Idle; | |
| Destroy | : in Destroy_Callback := null) return Idle_Handler_Id; |