Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Choice<T, C, R, K>

Interface for objects representing DAML choices.

Type parameters

  • T: object

    The template type.

  • C

    The choice type.

  • R

    The choice return type.

  • K

    The contract key type.

Hierarchy

  • Choice

Index

Properties

argumentDecoder

argumentDecoder: () => jtv.Decoder<C>

Returns a decoder to decode the choice arguments.

Type declaration

    • (): jtv.Decoder<C>
    • Returns jtv.Decoder<C>

choiceName

choiceName: string

The choice name.

resultDecoder

resultDecoder: () => jtv.Decoder<R>

Returns a deocoder to decode the return value.

Type declaration

    • (): jtv.Decoder<R>
    • Returns jtv.Decoder<R>

template

template: () => Template<T, K>

Returns the template to which this choice belongs.

Type declaration

Generated using TypeDoc