diff --git a/latest/docs/navigation.html b/latest/docs/navigation.html index e5439d28ae..5f26beb1ed 100644 --- a/latest/docs/navigation.html +++ b/latest/docs/navigation.html @@ -1614,7 +1614,17 @@
Invoked with TreehouseApp.cancel when the application is shut down.
This is different from codeUnloaded which occurs during hot reloads; this only occurs if the app itself is explicitly closed.
Invoked when something calls Zipline.bind, or a service is sent via an API.
Invoked when a service function call completes.
the value returned by callStart for the start of this call. This is null unless callStart is overridden to return something else.
Invoked when a service function is called. This may be invoked for either suspending or non-suspending functions.
any object. This value will be passed back to callEnd when the call is completed. The base function always returns null.
Invoked when a code load fails.
the value returned by codeLoadStart for the start of this call. This is null unless codeLoadStart is overridden to return something else.
Invoked when a code load is skipped because the code hasn't changed.
Invoked for each attempt at loading code. This will be followed by a codeLoadSuccess, codeLoadFailed, or codeLoadSkipped if the code is unchanged.
any object. This value will be passed back to one of the above functions. The base function always returns null.
Invoked when code is successfully downloaded and initialized.
Invoked when code is unloaded because it is no longer needed. Typically this occurs when a hot code update is applied.
Invoked when a network download fails.
the value returned by downloadStart for the start of this call. This is null unless downloadStart is overridden to return something else.
Invoked when a network download starts. This will be followed by downloadSuccess or downloadFailed.
Invoked when a network download completes successfully.
Invoked each time a TreehouseApp is created. When this is triggered the app may not yet have any code loaded; but it will always attempt to load code.
Invoked after the host-side initializer completes.
Invoked before Zipline runs the host-side initializer for an application.
Invoked after Zipline runs the downloaded code's main function.
Invoked before Zipline runs the downloaded code's main function.
Invoked when the manifest couldn't be decoded as JSON. For example, this might occur if there's a captive portal on the network.
Invoked when a the manifest verifier successfully verifies a key. Manifest verification failures are signaled with codeLoadFailed.
Invoked when a module load completes.
Invoked when a module load starts. This is the process of loading code into QuickJS.
Invoked on a request to manipulate unknown children tag for the specified widget kind.
Invoked on a request to process an unknown event tag for the specified widget widgetTag.
Invoked for an event whose node id is unknown.
Invoked on a request to create an unknown modifier tag.
Invoked on a request to set an unknown property tag for the specified widget kind.
Invoked on a request to create an unknown widget kind.
Invoked when a service is garbage collected without being closed.
Invoked when something calls Zipline.take, or a service is received via an API.
Invoked when app has thrown an uncaught exception.
the value returned by initializerStart for the start of this call. This is null unless initializerStart is overridden to return something else.
any object. This value will be passed back to initializerEnd when the call is completed. The base function always returns null.
the value returned by mainFunctionStart for the start of this call. This is null unless mainFunctionStart is overridden to return something else.
any object. This value will be passed back to mainFunctionStart when the call is completed. The base function always returns null.
the value returned by moduleLoadStart for the start of this call. This is null unless moduleLoadStart is overridden to return something else.
any object. This value will be passed back to moduleLoadEnd when the call is completed. The base function always returns null.
Note that this method may be invoked after codeUnloaded.
This indicates an unrecoverable software bug. Development implementations should report the exception to the developer. Production implementations should post the exception to a bug tracking service.
When a Treehouse app fails its current Zipline instance is canceled so no further code will execute. A new Zipline will start when new code available, or when the app is restarted.