File: executor.py

package info (click to toggle)
ros2-colcon-parallel-executor 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 136 kB
  • sloc: python: 442; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2025 Open Source Robotics Foundation, Inc.
# Licensed under the Apache License, Version 2.0


class ParallelStatus:
    """An event containing the identifiers of in-progress jobs."""

    __slots__ = ('processing', )

    def __init__(self, processing):
        """
        Construct a ParallelStatus.

        :param processing list: The in-progress job identifiers
        """
        self.processing = tuple(processing)