MCPcopy Create free account
hub / github.com/apache/qpid-proton / _schedule

Method _schedule

python/examples/proton_tornado.py:50–52  ·  view source on GitHub ↗
(self, sel)

Source from the content-addressed store, hash-verified

48 return events
49
50 def _schedule(self, sel):
51 if sel.deadline:
52 self.loop.add_timeout(sel.deadline, lambda: self._expired(sel))
53
54 def _expired(self, sel):
55 self.reactor.mark()

Callers 2

on_selectable_initMethod · 0.95
on_selectable_updatedMethod · 0.95

Calls 1

_expiredMethod · 0.95

Tested by

no test coverage detected