ChensHelpers
Chen.Helpers.UnityHelpers.QueueProcessor<T>
QueueProcessor<T>.Process(T) Method
A method the contains the main processing logic. It is required to be implemented by the child class.
This method returns a boolean that determines the outcome of the item from the queue.
Returning true will dispose of the item. Returning false will put the item back at the end of the queue.
protected abstract bool Process(T item);
Parameters
item
T
Item that was dequeued from the data structure
Returns
System.Boolean
Return true to send a signal of a successful processing, false otherwise.