getFullInfoSync method

LSLStreamInfoWithMetadata getFullInfoSync({
  1. required double timeout,
})

Synchronously gets the full stream info with metadata from this inlet. Direct mode only - throws LSLException if useIsolates: true. This provides maximum timing precision by eliminating all async overhead. Example:

final inlet = await LSL.createInlet<double>(streamInfo: info, useIsolates: false);
// Get full info with zero async overhead
inlet.getFullInfoSync(timeout: 2.0);

Implementation

LSLStreamInfoWithMetadata getFullInfoSync({required double timeout}) =>
    requireDirect(() => _getFullInfoDirect(timeout));