Packages

c

org.mongodb.scala.gridfs

ToGridFSUploadPublisherUnit

implicit class ToGridFSUploadPublisherUnit extends GridFSUploadPublisher[Unit]

A GridFSUploadPublisher that emits

  • exactly one item, if the wrapped Publisher does not signal an error, even if the represented stream is empty;
  • no items if the wrapped Publisher signals an error.
Linear Supertypes
GridFSUploadPublisher[Unit], Publisher[Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ToGridFSUploadPublisherUnit
  2. GridFSUploadPublisher
  3. Publisher
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ToGridFSUploadPublisherUnit(pub: => GridFSUploadPublisher[Void])

    pub

    A Publisher representing a finite stream.

Value Members

  1. def getId(): BsonValue
    Definition Classes
    ToGridFSUploadPublisherUnit → GridFSUploadPublisher
  2. def getObjectId(): ObjectId
    Definition Classes
    ToGridFSUploadPublisherUnit → GridFSUploadPublisher
  3. val publisher: GridFSUploadPublisher[Void]
  4. def subscribe(observer: Subscriber[_ >: Unit]): Unit
    Definition Classes
    ToGridFSUploadPublisherUnit → Publisher