Cannot find any developer information about this function. I just know that it's suggested to wrap JSNI JavaScript calls to Java methods with this $entry
function. I found that it catches exceptions so Java code could handle them. Is it all it does?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Is there a limit to how many levels you can nest i
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- How to toggle on Order in ReactJS
If you want to know exactly what happens, look into
com.google.gwt.core.client.impl.Impl.entry(JavaScriptObject jsFunction)
.This function (at least in GWT 2.2.0) mainly calls
entry0(Object jsFunction, Object thisObj, Object arguments)
, which does the following:Scheduler.scheduleEntry()
GWT.getUncaughtExceptionHandler()
, if there is such a handler.Scheduler.scheduleFinally()