All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cloudstate.javasupport.crdt.StreamCancelledContext Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package io.cloudstate.javasupport.crdt;

import io.cloudstate.javasupport.EffectContext;

import java.util.function.Consumer;

/**
 * Context for a stream cancelled event.
 *
 * 

This is sent to callbacks registered by {@link StreamedCommandContext#onCancel(Consumer)}. */ public interface StreamCancelledContext extends CrdtContext, EffectContext { /** * The id of the command that the stream was for. * * @return The ID of the command. */ long commandId(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy