OnClose typedef

void OnClose (Exception error)

Implementation

typedef OnClose = void Function(Exception error);