]> git.feebdaed.xyz Git - 0xmirror/strongswan.git/commit
vici: Export timeout in event listener of Python bindings
authorTobias Brunner <tobias@strongswan.org>
Fri, 3 Oct 2025 09:42:11 +0000 (11:42 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 7 Oct 2025 07:22:40 +0000 (09:22 +0200)
commit8bfdf2fb6011124c1e30b049b934c26938f5c45e
treeb5c710f77faeb4072642ab55afff32fbcaf5aedf
parent79da1172831a43f044fe6ea1a03c0799aeb55e02
vici: Export timeout in event listener of Python bindings

This allows running periodic tasks (e.g. check some outside condition)
and stop listening by raising the StopListening exception.
src/libcharon/plugins/vici/python/vici/event_listener.py