AsyncAtom
public struct AsyncAtom<T> : AsyncAtomNode, Writeable where T : Equatable
Undocumented
-
Undocumented
Declaration
Swift
public let key: NodeKey
-
Undocumented
Declaration
Swift
public var get: () async throws -> T
-
Undocumented
Declaration
Swift
public init<E>(key: NodeKey, get: @escaping AtomCombineGet<T, E>) where E : Error
-
Undocumented
Declaration
Swift
public init(key: NodeKey, get: @escaping AtomAsyncGet<T>)
-
defaultValue()
AsynchronousUndocumented
Declaration
Swift
public func defaultValue() async throws -> T