mirror of
https://github.com/status-im/react-native.git
synced 2025-02-25 15:45:32 +00:00
[Navigation] Implements NavigationContextFuture
This commit is contained in:
parent
280347d66a
commit
8dd1256c25
@ -67,10 +67,10 @@ class NavigationContext {
|
||||
}
|
||||
}
|
||||
|
||||
emit(eventType: String, data: any): void {
|
||||
emit(eventType: String, data: any, didEmitCallback: ?Function): void {
|
||||
var emitter = this._eventEmitter;
|
||||
if (emitter) {
|
||||
emitter.emit(eventType, data);
|
||||
emitter.emit(eventType, data, didEmitCallback);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user