Searched refs:post_id (Results 1 – 2 of 2) sorted by relevance
206 post_id = self._next_post_id210 self._posted_tasks[post_id] = glib.timeout_add(214 post_id,217 return post_id234 post_id = self._next_post_id237 self._posted_tasks[post_id] = glib.timeout_add(delay_ms, callback,239 return post_id262 def cancel_posted_task(self, post_id): argument272 if post_id in self._posted_tasks:273 retval = glib.source_remove(self._posted_tasks[post_id])[all …]
93 post_id = self._task_loop.post_task_after_delay(96 self._task_loop.post_task(self._callback_cancel_task, post_id)103 post_id = self._task_loop.post_task_after_delay(106 self._task_loop.post_task(self._callback_cancel_task, post_id)107 self._task_loop.post_task(self._callback_cancel_cancelled_task, post_id)173 def _callback_cancel_task(self, post_id): argument174 self._task_loop.cancel_posted_task(post_id)177 def _callback_cancel_cancelled_task(self, post_id): argument178 self.assertFalse(self._task_loop.cancel_posted_task(post_id))