Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
tasko
master
Tasko
Application
Changeset
AddDependency
CreateTask
Context
Engine
JSONTaskSerialization
Key
KVStore
List
Set
Value
MemoryEngine
KVStoreProtocol
MemoryTask
State
NaivePollingScheduler
RedisEngine
KVStoreProtocol
TaskDescriptor
TaskStats
UUIDTaskKeys
Built with Crystal 1.9.2
2023-10-08 10:56:01 UTC
struct
Tasko::KVStore::Value(T)
Tasko::KVStore::Value(T)
Struct
Value
Object
Defined in:
tasko/kv_store.cr
Constructors
.new
(protocol : Protocol, key : String)
Instance Method Summary
#get
: T
#key
: String
#set
(value : T) : Nil
Constructor Detail
def self.
new
(protocol : Protocol, key : String)
#
[
View source
]
Instance Method Detail
def
get
: T
#
[
View source
]
def
key
: String
#
[
View source
]
def
set
(value : T) : Nil
#
[
View source
]