Creates an actor for the given Uri.
typedef CreateActor = FutureOr<ActorRef> Function(Uri path, int mailboxSize);