Module: Prosody::_ValueDefinition

Defined in:
sig/state.rbs

Overview

--- definition interfaces (phantom-typed over the payload) -------------- The runtime returns a single frozen StateDefinition (Data) that structurally satisfies every interface below; the type parameter is annotation-only.

Instance Method Summary collapse

Instance Method Details

#kind"value"

Returns:



50
# File 'sig/state.rbs', line 50

def kind: () -> "value"

#nameString

Returns:

  • (String)


49
# File 'sig/state.rbs', line 49

def name: () -> String

#payload"json"

Returns:

  • ("json")


51
# File 'sig/state.rbs', line 51

def payload: () -> "json"

#read_cacheNumeric, ...

Returns:

  • (Numeric, false, nil)


52
# File 'sig/state.rbs', line 52

def read_cache: () -> (Numeric | false)?

#to_state_configHash[Symbol, state_config_value]

Returns:

  • (Hash[Symbol, state_config_value])


53
# File 'sig/state.rbs', line 53

def to_state_config: () -> Hash[Symbol, state_config_value]