Asset
Base class for assets managed by a RiveWorker.
Uses ops to perform operations specific to the asset type.
Each asset holds a reference to its RiveWorker. When creating assets manually, call close when you no longer need the asset; releasing the worker alone is not enough to purge asset or worker memory while the asset remains open.
Parameters
handle
The handle to the asset on the command server.
rive Worker
The Rive worker that owns the asset.
ops
The operations for managing the asset type.