onSolve

abstract fun onSolve(directive: Directive, goal: Term)

Invoked on an initialization(goal)/solve(goal) directive.