result property

Object? get result

Result value stored by task.return.

Implementation

Object? get result {
  if (!_hasResult) {
    throw StateError('WASI component task $name has no returned result.');
  }
  return _result;
}