getFullInfo method
Gets the full stream info with metadata from this inlet.
Fetched once and kept: later calls return the same object. It belongs to the inlet and is freed by destroy; its native data is not usable after that, so copy out what is needed first. Parameters:
timeout: Maximum wait time in seconds Execution:- Isolated mode: Async message passing to worker isolate
_getFullInfoIsolated - Direct mode: Immediate FFI call wrapped in Future
_getFullInfoDirectReturns: Future that completes when full info is retrieved. See also: getFullInfoSync for zero-overhead direct calls
Implementation
Future<LSLStreamInfoWithMetadata> getFullInfo({
required double timeout,
}) async =>
_fullInfo ??
(_useIsolates
? await _getFullInfoIsolated(timeout)
: _getFullInfoDirect(timeout));