StreamErrorReporter typedef

StreamErrorReporter = void Function(Uri url, Object error, StackTrace? stackTrace)

Called with each error on a live /db/stream* response: a message that could not be framed, or the connection failing.

Implementation

typedef StreamErrorReporter =
    void Function(Uri url, Object error, StackTrace? stackTrace);