Lines Matching refs:module
3 A shared module, marked with **use shared**, is loaded only once in a process.
5 …module is loaded only once in the same thread and multiple times in different threads. New module …
12 …ribute cannot be passed on. That is, importing a shared module does not make a non-shared module s…
15 - A shared module supports only .ets files.
17 - **side-effects-import** is not allowed within a shared module.
19 …After a module is shared between threads, functions are lazy loaded to dependent non-shared module…
26 - Variables exported by a shared module must be sendable objects.
28 … shared among concurrent instances. Therefore, all objects exported by a module must be shareable.…
30 - Modules cannot be directly exported from a shared module.
37 // Shared module
40 …export * from './test'; // A compile-time error is reported. The module cannot be directly exporte…
45 - A shared module can reference a shared module or a non-shared module. The reference and reference…
52 1. Export the sendable object in a shared module.
55 // Shared module sharedModule.ets
58 // Declare the current module as a shared module. Only sendable data can be exported.
61 // Shared module. SingletonA is globally unique.
83 2. Operate the object exported from the shared module in multiple threads.