Package 

Interface SendChannel

  • All Implemented Interfaces:
    kotlinx.coroutines.channels.SendChannel

    
    public interface SendChannel<E extends Object>
     implements SendChannel<E>
                        

    SendChannel is a KotlinxCoroutinesSendChannel plus sendAsync which enables idiomatic non-blocking usage from Java code.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class SendChannel.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      CompletableFuture<Unit> sendAsync(E element) Asynchronously send the element to this channel.
      abstract Boolean getIsClosedForSend()
      abstract SelectClause2<E, SendChannel<E>> getOnSend()
      • Methods inherited from class io.github.cfraser.connekt.api.SendChannel

        close, invokeOnClose, offer, send, trySend
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait