replyTo property

  1. @override
ActorRef? get replyTo
inherited

The actor to reply to, if a live ActorRef was placed in metadata['replyTo'].

This is a transient, in-process handle: it is not persisted (see metadata) and is null for every event read back from the store, including one whose stored metadata still holds a stringified ref written by an earlier release.

Implementation

@override
ActorRef? get replyTo {
  final value = _metadata['replyTo'];
  return value is ActorRef ? value : null;
}