StreamSourceResolver typedef

StreamSourceResolver = Stream? Function(String uri, Map<String, dynamic> params)

Resolves a stream-source uri (with subscribe params) to a live stream, or null when no source is registered for the uri's scheme.

Implementation

typedef StreamSourceResolver = Stream<dynamic>? Function(
  String uri,
  Map<String, dynamic> params,
);