packages/then-pug/lib/index.js
function unwrap(value) {
      if (streaming) return value;
      return new Promise(function (resolve) {
        stream._read = function () {
          release();
          this._read = release;
          resolve(value);
        }
      });
    }
function unwrap(value) {
      if (streaming) return value;
      return new Promise(function (resolve) {
        stream._read = function () {
          release();
          this._read = release;
          resolve(value);
        }
      });
    }
function unwrap ( value ) { if ( streaming ) return value ; return new Promise ( function ( resolve ) { stream . _read = function ( ) { release ( ) ; this . _read = release ; resolve ( value ) ; } } ) ; }
then-yield unwrap function which implements the backpressure pause mechanism
then - yield unwrap function which implements the backpressure pause mechanism