workspaced.api

Members

Aliases

AsyncCallback
alias AsyncCallback = void delegate(Throwable, JSONValue)

Functions

syncBlocking
JSONValue syncBlocking(Args args)

Calls an asynchronous function and blocks until it returns using Thread.sleep

syncYield
JSONValue syncYield(Args args)

Calls an asynchronous function and blocks until it returns using Fiber.yield

Manifest constants

any
enum any;

Will call this function in any case (cmd: component)

async
enum async;

Will get called asynchronously (Must prepend AsyncCallback as argument)

disabledFunc
enum disabledFunc;

Will never call this function

load
enum load;

Will get called for loading components

unload
enum unload;

Will get called for unloading components

Static variables

crossThreadBroadcastCallback
BroadcastCallback crossThreadBroadcastCallback;

Broadcast callback which might get called by commands. This callback will get called by all threads.

Structs

Arguments
struct Arguments

Will get called when some argument matches

CodeReplacement
struct CodeReplacement

Describes what to insert/replace/delete to do something

FileChanges
struct FileChanges

Code replacements mapped to a file

component
struct component

Component call

Variables

broadcastCallback
BroadcastCallback broadcastCallback;

Broadcast callback which might get called by commands. For example when a component is outdated. Will be called in caller thread of function / while function executes.

Meta