Idris2Doc : JS.Callback

JS.Callback

(source)

Definitions

interfaceCallback : Type->Type->Type
  Interface for converting Idris functions to
an external callback type.

@cb external callback type (for instance `EventListener`
@fun Idris function type

Parameters: cb, fun
Methods:
callback : fun->JSIOcb
callback : Callbackcbfun=>fun->JSIOcb
Totality: total
Visibility: public export