mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-14 11:09:08 +02:00
* Commands must be lowercase
This commit is contained in:
parent
0b6ae88cb3
commit
1178011253
@ -49,7 +49,7 @@ Const
|
||||
cmdRun = 'run';
|
||||
cmdExecute = 'execute';
|
||||
cmdRPC = 'rpc';
|
||||
cmdRPCResult = 'rpcResult';
|
||||
cmdRPCResult = 'rpcresult';
|
||||
|
||||
channelConsole = 'console_output';
|
||||
|
||||
@ -314,6 +314,7 @@ Type
|
||||
private
|
||||
FOnSendCommand: TCommandNotifyEvent;
|
||||
Protected
|
||||
|
||||
// Proposed WASI standard, modeled after POSIX pthreads.
|
||||
function thread_spawn(start_arg : longint) : longint; virtual; abstract;
|
||||
Function thread_detach(thread_id : longint) : Integer; virtual; abstract;
|
||||
@ -326,6 +327,8 @@ Type
|
||||
Procedure SendCommand(aCommand : TWorkerCommand); virtual;
|
||||
// Set this to actually send commands. Normally set by TWorkerWASIHostApplication
|
||||
Property OnSendCommand : TCommandNotifyEvent Read FOnSendCommand Write FOnSendCommand;
|
||||
|
||||
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user