Autodesk / Autodesk/AutomaticComponentToolkit
Wrap function callbacks
Open
- Dominant language
- Go
- Stars
- 53
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Currently function callbacks are passed directly over the interface as arguments.
This leads to 2 issues:
1. We cannot journal calls into these callbacks from within the implementation - which we would like to do in the future
2. This does not follow the hourglass isolation pattern as an exception thown in the callback might not be safely able to percolate in the implementations code.
To get around this we should wrap the function call backs we are passed from the binding in the implementation.
Contributor guide
Assessment
This issue has not been assessed yet.