public static function subscribe($event, callable $callback)
    {
        if (!isset(self::$eventSubscriptions[$event])) self::$eventSubscriptions[$event] = array();
        self::$eventSubscriptions[$event][] = $callback;

        self::receive();
    }