Function

on-end

Called when a span is ended.

on-end: func(span: span-data);