run<O> method

O run<O>(
  1. O fn()
)

Runs the provided function inside the session's context.

Implementation

O run<O>(O Function() fn) =>
    runZoned(fn, zoneValues: {_sessionZoneKey: this});