TestableService
TestProtocols.swift:3protocol TestableService : Sendable
Browse conforming typesprotocol TestableService : Sendable
import TestMessages
protocol Sendable
A thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
func doNothing() async
func getMonster() async -> Monster
func handleConnectionState(_ state: ConnectionState) async
func handleMonsters(_ monsters: [Monster]) async
func openStream(byRequest request: OpenRequest) async