public interface AsyncEvent
| Modifier and Type | Method and Description |
|---|---|
void |
async(org.reactivestreams.Publisher<?> publisher)
注册一个异步任务
|
void |
first(org.reactivestreams.Publisher<?> publisher)
注册一个优先级高的任务
|
reactor.core.publisher.Mono<Void> |
getAsync() |
reactor.core.publisher.Mono<Void> |
publish(org.springframework.context.ApplicationEventPublisher eventPublisher)
推送事件到 ApplicationEventPublisher
|
reactor.core.publisher.Mono<Void> getAsync()
void async(org.reactivestreams.Publisher<?> publisher)
publisher - 异步任务void first(org.reactivestreams.Publisher<?> publisher)
publisher - 任务reactor.core.publisher.Mono<Void> publish(org.springframework.context.ApplicationEventPublisher eventPublisher)
eventPublisher - ApplicationEventPublisherCopyright © 2016–2021. All rights reserved.