Align SpawnProtocol with style guide #27318

This commit is contained in:
Johan Andrén 2019-07-16 11:36:12 +02:00 committed by GitHub
parent 511356177d
commit d03294d359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 67 additions and 60 deletions

View file

@ -462,6 +462,8 @@ made before finalizing the APIs. Compared to Akka 2.5.x the source incompatible
`interceptMessageType` method in `BehaviorInterceptor` is replaced with this @scala[`ClassTag`]@java[`Class`] parameter.
* `Behavior.orElse` has been removed because it wasn't safe together with `narrow`.
* `StashBuffer`s are now created with `Behaviors.withStash` rather than instantiating directly
* To align with the Akka Typed style guide `SpawnProtocol` is now created through @scala[`SpawnProtocol()`]@java[`SpawnProtocol.create()`], the special `Spawn` message
factories has been removed and the top level of the actor protocol is now `SpawnProtocol.Command`
#### Akka Typed Stream API changes