mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Replace AsyncExecutor with simple closure
This makes everything much simpler. The task type is now defined directly on `Plugin`.
This commit is contained in:
@@ -183,8 +183,7 @@ impl Plugin for Crossover {
|
||||
aux_outputs: Some(&["Band 1", "Band 2", "Band 3", "Band 4", "Band 5"]),
|
||||
};
|
||||
|
||||
type AsyncExecutor = ();
|
||||
fn async_executor(&self) -> Self::AsyncExecutor {}
|
||||
type BackgroundTask = ();
|
||||
|
||||
fn params(&self) -> Arc<dyn Params> {
|
||||
self.params.clone()
|
||||
|
||||
Reference in New Issue
Block a user