add stream and promise examples [ci skip]