add a queue ready callback