middleware can notify the promise via next.notify()