Destination¤
Destination
¤
An interface where you can write events and results.
Methods:
Name | Description |
---|---|
close |
Close the destination. No-op by default. |
open |
Open the destination. No-op by default. |
summary |
Return a summary of the destination. |
write_event |
Write an event to the destination. |
write_result |
Write the session result to the destination. |
write_event
abstractmethod
¤
write_event(event: SessionEvent) -> None
Write an event to the destination.
write_result
abstractmethod
¤
write_result(result: SessionResult) -> None
Write the session result to the destination.