RecoilTestScope
@propertyWrapper
public class RecoilTestScope
Undocumented
-
Undocumented
Declaration
Swift
public let timeout: TimeInterval
-
Undocumented
Declaration
Swift
public var viewRefreshCount: Int { get }
-
Undocumented
Declaration
Swift
public init()
-
Undocumented
Declaration
Swift
public var wrappedValue: ScopedRecoilContext { get }
-
Undocumented
Declaration
Swift
public func refresh()
-
Undocumented
Declaration
Swift
public func accessor(deps: [NodeKey]?) -> StateAccessor
-
Undocumented
Declaration
Swift
public func stubState<Node>(node: Node, value: Node.T) where Node : RecoilNode
-
Undocumented
Declaration
Swift
public func stubState<Node>(node: Node, error: Error) where Node : RecoilNode
-
Undocumented
Declaration
Swift
public func purge()
-
waitNextStateChange(timeout:
Asynchronoustask: ) Undocumented
Declaration
Swift
@discardableResult public func waitNextStateChange( timeout: TimeInterval? = nil, task: (() -> Void)? = nil ) async throws -> (NodeKey, Any)