Autodesk / Autodesk/AutomaticComponentToolkit

Wrap function callbacks

Aperta
#104 1 commento 0 reazioni 1 assegnatario Rivendicata da @robertgoss Vedi su GitHub
Lingua principale
Go
Stelle
53
Fork
26
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.