checkpoint

This commit is contained in:
Jett Chen 2023-12-10 03:44:31 +08:00
parent 17610ff90d
commit 94233874e6
39 changed files with 490 additions and 336 deletions

View file

@ -113,7 +113,7 @@ final class BurrowIpc {
return data
}
func request<U: Decodable>(_ request: Request, type: U.Type) async throws -> U {
func request<U: Decodable>(_ request: any Request, type: U.Type) async throws -> U {
do {
var data: Data = try JSONEncoder().encode(request)
data.append(contentsOf: [10])