emit method

T emit(
  1. T value
)

Updates _ref.value with a new value and returns the updated value.

Implementation

T emit(T value) => _ref.value = value;