v0.1.2: Don't call onResolve callback if global callback returns false