wrap<T, U> static method

Sendable<T> wrap<T, U>(
  1. T make(
    1. U
    ),
  2. U data
)

Implementation

static Sendable<T> wrap<T, U>(T Function(U) make, U data) {
  return _SendableImpl._(make, data);
}