Skip to content

reactor module #352

@jknack

Description

@jknack
import static org.jooby.reactor.reactor;

{
 get("/mono", req -> Mono.fromCallable(() -> {
      System.out.println(Thread.currentThread());
      return req.path();
    }).publishOn(SchedulerGroup.io()))
      .produces("plain")
      .map(reactor);

}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions