validate the callback input before append to the array of callbacks to be called on resolve