Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

commercetools/commercetools-jvm-sdk-reactive-streams-add-ons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bindings for Reactive Streams and the commercetools JVM SDK

SPHERE.IO icon

Javadoc

Maven:

<dependency>
    <groupId>com.commercetools.sdk.jvm.reactive-streams</groupId>
    <artifactId>commercetools-reactive-streams</artifactId>
    <version>replace with version above (maven central)</version>
</dependency>

Getting a publisher:

import io.sphere.sdk.client.SphereClient;
import io.sphere.sdk.products.Product;
import io.sphere.sdk.products.queries.ProductQuery;
import io.sphere.sdk.reactivestreams.SphereReactiveStreams;
import org.reactivestreams.Publisher;

public class QueryAllIdentifiableDemo {
    public static void demo(final SphereClient client) {
        final Publisher<Product> productPublisher =
            SphereReactiveStreams.publisherOf(ProductQuery.of(), client);
    }
}

About

commercetools JVM SDK bindings for reactive streams

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages