mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
- Create hook_runner.py with run_hook_async function - Support both sync and async handlers via asyncio.to_thread - Enforce timeouts with asyncio.wait_for (default 30s) - Convert exceptions to gRPC status codes - Add HookRunner class for convenient invocation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src/mattermost_plugin | ||
| tests | ||
| pyproject.toml | ||