A variant that specifies the time as a relative time. This is actually the more commonly used interface.
(self, delay, priority, action, argument=(), kwargs=_sentinel)
| 76 | return event # The ID |
| 77 | |
| 78 | def enter(self, delay, priority, action, argument=(), kwargs=_sentinel): |
| 79 | """A variant that specifies the time as a relative time. |
| 80 | |
| 81 | This is actually the more commonly used interface. |
| 82 | |
| 83 | """ |
| 84 | time = self.timefunc() + delay |
| 85 | return self.enterabs(time, priority, action, argument, kwargs) |
| 86 | |
| 87 | def cancel(self, event): |
| 88 | """Remove an event from the queue. |