Sets the callback used when dropping an item.
If a handler is not set and the queue contains objects, dropped objects will be processed with kObject_Dispose.
This method is not thread-safe.
- Parameters
-
queue | Queue object. |
onDrop | Callback function. |
receiver | Callback context. |
- Returns
- Operation status.