BridgeResourceHandler typedef

BridgeResourceHandler = Future<Object?> Function(String uri)

Optional resource handler. Returns the resource content for the given URI; the bridge wraps the call in the current session's Zone so scopeId is applied where relevant.

Implementation

typedef BridgeResourceHandler = Future<Object?> Function(String uri);