useIsolate property

bool useIsolate
final

Whether this strategy should use isolates for heavy operations.

Each strategy defines its own default based on operation weight. Users can override at initialization time.

Example:

// Use default (true for most strategies, false for Console)
DatadogLogStrategy(apiKey: 'key', service: 'app', env: 'prod')

// Override to disable isolate
DatadogLogStrategy(apiKey: 'key', service: 'app', env: 'prod', useIsolate: false)

Implementation

final bool useIsolate;