how to set call back for Databricks Statement Execution SQL API Query?

Maulik
New Contributor

I m using https://docs.databricks.com/api/workspace/statementexecution. using long running queries.my wait time is zero. queries might take 1 hour and I don't want to do pooling https://docs.databricks.com/api/workspace/statementexecution/getstatement the way they explain in above link. I m using queries with SQL api not using note book. do we have any way without pooling we can use some call back mechanism to get notify that your result is ready and then only I ask for result ?