OPX//77
opx_infinityCore

Core

Last updated on

The opx_infinity API that no single module owns — the OPX.* runtime, its configuration, runtime events, the lib/ helpers and the shared error codes.

Module APIs (contracts, commands, events, settings) are on each module page. Everything here is reachable only from code running inside opx_infinity (opx_infinity publishes no Open77 exports besides the creator exports); opx_lib is the one library any client resource can require.

PageWhat is on itSide
SharedOPX.Modules, OPX.Api, OPX.Event, OPX.Now, OPX.Scheduler, OPX.Export, runtime values, boot orderboth
ServerOPX.Publish, OPX.Command and aliases, answers and refusals, the readiness gate, sessions, buckets, tunables, schemaserver
ClientOPX.UI, OPX.Toast, OPX.Note, OPX.Lib, the client scheduler loopclient
Configurationconfig/shared.lua, config/server.lua, config/client.lua, command aliasesboth
Eventsthe core's own net events, host event names, the core page channelsboth
Shared library (lib/)OPX.Result, OPX.Text, OPX.Math, OPX.JobGate, OPX.Spots, OPX.Hooks, OPX.Locale, OPX.Storage, OPX.Audit, OPX.Surface…both / server / client
Error codesthe shared refusal codes and the Result conventionboth

Reading the API pages

  • Side — server, client or both. A server-only function is nil on the client, and the other way round.
  • Parameters — in call order; name? is optional.
  • Returns — Result means { ok = true, value = … } or { ok = false, error = code, detail = … } (Result convention). ok, code means two values.
  • Yields — the call waits (database, network): call it from a thread.

On this page