Autodesk / Autodesk/AutomaticComponentToolkit

Wrap function callbacks

Đang mở
#104 1 bình luận 0 reaction 1 người được giao Được @robertgoss nhận Xem trên GitHub
Ngôn ngữ chính
Go
Star
53
Fork
26
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.