Expose the 'Stopped' event to Swift and Node

Swift: ChatListener.chatServiceConnectionWasInterrupted(_:)
Node: ChatServiceListener.onConnectionInterrupted()
This commit is contained in:
Jordan Rose
2024-05-31 17:48:59 -07:00
parent cca5b51d28
commit 4e2a7de574
11 changed files with 103 additions and 7 deletions

View File

@@ -626,6 +626,7 @@ public final class Native {
public static native void TESTING_ChatServiceErrorConvert(String errorDescription) throws Exception;
public static native Object TESTING_ChatServiceResponseAndDebugInfoConvert() throws Exception;
public static native Object TESTING_ChatServiceResponseConvert(boolean bodyPresent) throws Exception;
public static native void TESTING_ChatService_InjectConnectionInterrupted(long chat);
public static native void TESTING_ChatService_InjectRawServerRequest(long chat, byte[] bytes);
public static native void TESTING_ErrorOnBorrowAsync(Object input);
public static native CompletableFuture TESTING_ErrorOnBorrowIo(long asyncRuntime, Object input);