BehaviorSubject openCameraController = BehaviorSubject();
BridgeChannel _openCamera() {
print(‘------------------> _openCamera() ‘);
return BridgeChannel(
name: ‘openCamera’,
onBridgeHandler: (dataFromJs) async {
print('------------------> _openCamera() send event'+dataFromJs );
EventBus().post(OpenCameraEvent(dataFromJs));
print(‘------------------222> openCameraController.listen2 ‘);
return await doSome();
}
);
}
Future doSome() async {
var a = new Future(() => null);
openCameraController.listen((resul) {
print(‘------------------> openCameraController.listen ‘+resul);
//return result = resul;
//call('dart2Js', resul);
a.then((_) => resul);
});
return a ;
}
BehaviorSubject openCameraController = BehaviorSubject();
BridgeChannel _openCamera() {
print(‘------------------> _openCamera() ‘);
return BridgeChannel(
name: ‘openCamera’,
onBridgeHandler: (dataFromJs) async {
print('------------------> _openCamera() send event'+dataFromJs );
EventBus().post(OpenCameraEvent(dataFromJs));
print(‘------------------222> openCameraController.listen2 ‘);
return await doSome();
}
);
}
Future doSome() async {
var a = new Future(() => null);
openCameraController.listen((resul) {
print(‘------------------> openCameraController.listen ‘+resul);
//return result = resul;
//call('dart2Js', resul);
a.then((_) => resul);
});
return a ;
}
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3958 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC