Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal hooks #338

Closed
ariaieboy opened this issue Mar 16, 2024 · 1 comment
Closed

internal hooks #338

ariaieboy opened this issue Mar 16, 2024 · 1 comment

Comments

@ariaieboy
Copy link

Hi
Can we hook into the recording lifecycle?
For example, I want to send a notification when a recorder, is stored in the database.
But I didn't find any way to hook into the lifecycle of the pulse.

@timacdonald
Copy link
Member

Pulse doesn't currently offer a way to hook into the storage phase.

Pulse stores data in your database, so it would be possible to monitor the pulse_* tables and send notifications depending on the data in those table. It would also be possible to create a decorator for the DatabaseStorage and send notifications in the store method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants