when i add try await Task.sleep() inside an async function, it will not return the console correctly
example code:
func fetchPosts() async throws -> String {
try await Task.sleep(nanoseconds: 500_000_000) // simulate network delay
return "Posts loaded"
}