(self, source, duration: float = 0)
| 39 | |
| 40 | class Pause(Interaction): |
| 41 | def __init__(self, source, duration: float = 0) -> None: |
| 42 | super().__init__(source) |
| 43 | self.duration = duration |
| 44 | |
| 45 | def encode(self) -> dict[str, str | int]: |
| 46 | return {"type": self.PAUSE, "duration": int(self.duration * 1000)} |
nothing calls this directly
no outgoing calls
no test coverage detected