interface Callback : Type -> Type -> Type
Interface for converting Idris functions to an external callback type. @cb external callback type (for instance `EventListener` @fun Idris function type
callback : fun -> JSIO cb
callback : Callback cb fun => fun -> JSIO cb