public static function forceWrap($cb, $timeout = null)
    {
        if ($cb instanceof CallbackWrapper) {
            return $cb;
        }
        if ($cb === null) {
            return null;
        }
        return new static($cb, $timeout, Daemon::$context);
    }
public static function forceWrap($cb, $timeout = null)
    {
        if ($cb instanceof CallbackWrapper) {
            return $cb;
        }
        if ($cb === null) {
            return null;
        }
        return new static($cb, $timeout, Daemon::$context);
    }
public static function forceWrap ( $ cb , $ timeout = null ) { if ( $ cb instanceof CallbackWrapper ) { return $ cb ; } if ( $ cb === null ) { return null ; } return new static ( $ cb , $ timeout , Daemon :: $ context ) ; }
Wraps callback even without context
@static
@param callable $cb
@param double $timeout = null
@return CallbackWrapper|null
Wraps callback even without context