Added support for detecting when yields are about to happen.
Release 0.2.47