Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Wrap function callbacks

Open
#104 1 comment 0 reactions 1 assignee View on GitHub

@robertgoss is already working on this.

Since Jul 16, 2020.

Assessment

This issue has not been assessed yet.

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.

Dominant language
Go
Stars
54
Forks
26
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Autodesk/AutomaticComponentToolkit

All issues in Autodesk/AutomaticComponentToolkit

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.