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
- #kind ⇒ "value"
- #name ⇒ String
- #payload ⇒ "json"
- #read_cache ⇒ Numeric, ...
- #to_state_config ⇒ Hash[Symbol, state_config_value]
Instance Method Details
#name ⇒ String
49 |
# File 'sig/state.rbs', line 49
def name: () -> String
|
#payload ⇒ "json"
51 |
# File 'sig/state.rbs', line 51
def payload: () -> "json"
|
#read_cache ⇒ Numeric, ...
52 |
# File 'sig/state.rbs', line 52
def read_cache: () -> (Numeric | false)?
|
#to_state_config ⇒ Hash[Symbol, state_config_value]
53 |
# File 'sig/state.rbs', line 53
def to_state_config: () -> Hash[Symbol, state_config_value]
|