v0.3.4, support Promise