public static function setContextDataByKey(string $key, $val)
    {
        $coroutineId = self::getCoroutineId();
        self::$context[$coroutineId][self::DATA_KEY][$key] = $val;
    }
public static function setContextDataByKey(string $key, $val)
    {
        $coroutineId = self::getCoroutineId();
        self::$context[$coroutineId][self::DATA_KEY][$key] = $val;
    }
public static function setContextDataByKey ( string $ key , $ val ) { $ coroutineId = self :: getCoroutineId ( ) ; self :: $ context [ $ coroutineId ] [ self :: DATA_KEY ] [ $ key ] = $ val ; }
Update context data by key

@param string $key
@param mixed $val
Update context data by key