Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NotifyModuleReadyCallback

Richard edited this pageFeb 23, 2018 ·1 revision

User implemented callback to get notification when the module is ready.

Syntax

typedef JsErrorCode (CHAKRA_CALLBACK * NotifyModuleReadyCallback) (    _In_opt_ JsModuleRecord referencingModule,    _In_opt_ JsValueRef exceptionVar);

Parameters

  • referencingModule: The referencing module that has finished running ModuleDeclarationInstantiation step.
  • exceptionVar: If nullptr, the module is successfully initialized and host should queue the execution job otherwise it's the exception object.

Return Value

Returns a JsErrorCode - note, the return value is ignored.

Remarks

The callback is invoked on the current runtime execution thread, therefore execution is blocked until the callback completes. This callback should schedule a call to JsEvaluateModule to run the module that has been loaded.

Want to contribute to this Wiki?

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp