1
0
mirror of https://github.com/20kdc/OC-KittenOS.git synced 2024-11-23 19:08:05 +11:00
OC-KittenOS/repository/docs/us-virtu

27 lines
556 B
Plaintext
Raw Normal View History

2020-03-29 06:12:31 +11:00
The "x.svc.virtudev" service allows
the creation of virtual components.
It provides two functions:
install = function (proxy):
Installs a virtual component.
The provided proxy must have:
address: The address (string)
type: The type (string)
It SHOULD have the 'slot' attribute
that proxies have.
uninstall = function (address):
Uninstalls a component that your
process installed by address.
The service automatically starts
and stops as required.
-- This is released into
the public domain.
-- No warranty is provided,
implied or otherwise.