README

Start here

Library

Reference

Tutorials

Other

public CustomCallbackparametric type

CustomCallback(f, TEvent, [TPhase = Phase, access = (;)])

A callback that runs f(learner) every time TEvent is triggered in TPhase.

If f needs to access learner state, pass access, a named tuple in the same form as stateaccess.