Skip to content

Change BindingPluginOptions to BindingPluginOptions<const WEAK> #1003

@hyf0

Description

@hyf0
          I looked into it. The current workaround would be use different struct for main and worker threads. Making NAPI-RS supporting generic could reduce the maintain overhead. @Brooooooklyn

Originally posted by @hyf0 in #985 (comment)


This issue is currently blocked by macros of NAPI-RS doesn't support struct with generics. We encourage contributors to have experiences of writting proc macros to help of NAPI-RS: napi-rs/napi-rs#2071

--

Solve this issues will fixes:

Metadata

Metadata

Assignees

Labels

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions