Skip to content

Commit 18e06c4

Browse files
committed
refactor: add listener methods
1 parent ae4a919 commit 18e06c4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

android/src/main/java/com/reactnativesocketio/SocketIoModule.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ class SocketIoModule(private val reactContext: ReactApplicationContext) : ReactC
7272
return mSocketList[path]
7373
}
7474

75+
@ReactMethod
76+
fun addListener(eventName: String) {}
77+
78+
@ReactMethod
79+
fun removeListeners(count: Int) {}
80+
7581
@ReactMethod
7682
fun initialize(url: String, options: ReadableMap, callback: Callback) {
7783
try {

0 commit comments

Comments
 (0)