Example #1
0
 def _trigger_from_waitable(self,
                            result: cocotb.triggers.Waitable) -> Trigger:
     return self._trigger_from_unstarted_coro(
         cocotb.decorators.RunningTask(result._wait()))
Example #2
0
 def _trigger_from_waitable(self,
                            result: cocotb.triggers.Waitable) -> Trigger:
     return self._trigger_from_unstarted_coro(result._wait())