FANDOM


System Object Edit

The System Object is how Multiplex applications communicate with the Multiplex kernel and the related frameworks. This object is dynamically constructed during application boot, and is very flexible.

Attaching Functionality To The System Object Edit

What frameworks are attached to the System object is specified inside the application manifest. More specificly the "permissions" field. For example, if you specify the "file" permission, your application has access to "System.file".

Expanding System Object Functionality Edit

Multiplex drivers have access to adding new functionality that can be attached to the System Object.

This is done by mounting a function onto the global permissions object.

If this permission is mounted:

permissions.mount("example",function(){ return "Hello World"; });
A application with "example" specified as a permission has access to:
var test = System.example();

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.