compute<Result> static method

  1. @factory
GetComputed<Result> compute<Result>(
  1. RefComputer<Result> callback
)

Encapsulates a Listenable which notifies based on a RefComputer callback.

Implementation

@factory
static GetComputed<Result> compute<Result>(RefComputer<Result> callback) {
  return GetComputed._(ComputedNoScope(callback));
}