Skip to content

Commit

Permalink
Executors types (#1345)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carlstrom <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
  • Loading branch information
InvincibleRMC and fujitatomoya authored Sep 11, 2024
1 parent d1d7d05 commit 533d50c
Show file tree
Hide file tree
Showing 7 changed files with 140 additions and 78 deletions.
3 changes: 2 additions & 1 deletion rclpy/rclpy/callback_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
from rclpy.service import Service
from rclpy.waitable import Waitable
from rclpy.guard_condition import GuardCondition
Entity = Union[Subscription, Timer, Client, Service, Waitable[Any], GuardCondition]
Entity = Union[Subscription[Any], Timer, Client[Any, Any], Service[Any, Any],
GuardCondition, Waitable[Any]]


class CallbackGroup:
Expand Down
Loading

0 comments on commit 533d50c

Please sign in to comment.