Crate nj_core

source ·

Modules

Macros

assert the napi call
call napi and assert used only in this crate
call napi and wrap into result used only in this crate
convert result into napi value if ok otherwise convert to error

Structs

Wrapper for thread safe function that are safe to send and sync across thread

Enums

Traits

convert to js including error
Convert napi value to Rust value
convert to JS object

Functions

create promise and schedule work when this is finished it will return result in the main thread
submit property for including in global registry

Attribute Macros

Marks a function or static variable as a library/executable constructor. This uses OS-specific linker sections to call a specific function at load time.