Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AnyDataType

A placeholder data type that can represent any of the other datatypes.

The sole purpose of this data type is to allow creating polymorphic streams that can accept any data type.

Example:

// Get the Any datatype and create a stream
var anyType = diffusion.datatypes.any();
var stream = session.addStream('some_topic', anyType);

Hierarchy

  • AnyDataType

Index

Methods

Methods

name

  • name(): string
  • The external type identifier.

    Returns string

    the name of this datatype