Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Fire the given event to the specified channels and suspend
execution until it has been dispatched. This method may only
be invoked as argument to a ``yield`` on the top execution level
of a handler (e.g. "``yield self.callEvent(event)``").
It effectively creates and returns a generator
that will be invoked by the main loop until the event has
been dispatched (see :func:`circuits.core.handlers.handler`).

src/k/d/kdb-1.0.2/kdb/bot.py   kdb(Download)
 
                try:
                    value = yield self.call(event, "commands")
                    if value.errors:
                        etype, evalue, etraceback = value.value

src/c/i/circuits-3.0.0.dev/circuits/web/dispatchers/jsonrpc.py   circuits(Download)
 
            if isinstance(params, dict):
                value = yield self.call(rpc.create(name, **params), channel)
            else:
                value = yield self.call(rpc.create(name, *params), channel)

src/c/i/circuits-3.0.0.dev/circuits/web/dispatchers/xmlrpc.py   circuits(Download)
            name = str(name) if not isinstance(name, binary_type) else name
 
            value = yield self.call(rpc.create(name, *params), channel)
            yield self._response(value.value)
        except Exception as e: