Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OptionalWorker<T>

This class does the actual work behind the Optional companion function. In addition to implementing the Serializable interface it also stores the Serializable instance of the payload of the Optional and uses it to provide a decoder for the OptionalInner type.

Type parameters

  • T

    The type of the optionally present value.

Hierarchy

  • OptionalWorker

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private payload

payload: Serializable<T>

Methods

decoder

  • Returns jtv.Decoder<Optional<T>>

Private innerDecoder

Generated using TypeDoc