wireplumber.rs icon indicating copy to clipboard operation
wireplumber.rs copied to clipboard

Rework ComponentLoader api

Open arcnmx opened this issue 1 year ago • 0 comments

The signatures and usability of load_component and load_lua_script and related APIs could use some work.

  • [ ] Maybe split them up into multiple fns, or follow a builder-ish pattern, dunno?
  • [ ] load_lua_script could maybe return the associated script:{path} WpPlugin or something?
  • [ ] possibly integrate the load -> activate plugin process of a module or script into a future if possible?
  • [ ] verify what wp does to the args of a loaded pw_module because I'm curious and unsure

arcnmx avatar Nov 11 '22 01:11 arcnmx