!per #16797 rename defer to deferAsync, remove Seq version
This commit is contained in:
parent
ba8756d485
commit
d782cf59af
10 changed files with 61 additions and 126 deletions
|
|
@ -13,14 +13,9 @@ import akka.japi.pf.ReceiveBuilder;
|
|||
import akka.persistence.*;
|
||||
import scala.Option;
|
||||
import scala.PartialFunction;
|
||||
import scala.concurrent.duration.Duration;
|
||||
import scala.runtime.BoxedUnit;
|
||||
import java.io.Serializable;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
|
||||
public class LambdaPersistenceDocTest {
|
||||
|
||||
public interface SomeOtherMessage {}
|
||||
|
|
@ -373,7 +368,7 @@ public class LambdaPersistenceDocTest {
|
|||
sender().tell(e, self());
|
||||
});
|
||||
|
||||
defer(String.format("evt-%s-3", c), e -> {
|
||||
deferAsync(String.format("evt-%s-3", c), e -> {
|
||||
sender().tell(e, self());
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue