Autodesk / Autodesk/AutomaticComponentToolkit

Wrap function callbacks

Ouverte
#104 1 commentaire 0 réactions 1 personne assignée Réclamée par @robertgoss Voir sur GitHub
Langage dominant
Go
Étoiles
53
Forks
26
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.