Skip to main content

Module actor

Module actor 

Source
Expand description

Host-side adapter that wraps a plug-in actor cdylib as a DataActor.

Owns the plug-in’s opaque handle plus a pointer to its static crate::surfaces::actor::ActorVTable and forwards every callback the surface ships in v1 through the vtable. The live engine sees a normal DataActor; the plug-in never crosses the FFI boundary except as the typed event payload pointer the engine already has from the cache.

Structs§

PluginActorAdapter
Adapts a plug-in actor (vtable + handle from a cdylib) into a host-side DataActor the live node can register and dispatch into.