Class Publishers.JustThrowPublisher<T>

java.lang.Object
io.micronaut.core.async.publisher.Publishers.JustThrowPublisher<T>
Type Parameters:
T - The type
All Implemented Interfaces:
Publishers.MicronautPublisher<T>, Publisher<T>
Enclosing class:
Publishers

@Internal public static class Publishers.JustThrowPublisher<T> extends Object implements Publishers.MicronautPublisher<T>
A publisher that throws an error. Needs to be public for micronaut-aot.
  • Constructor Details

    • JustThrowPublisher

      public JustThrowPublisher(Throwable error)
  • Method Details