Add get_owned_processes
This commit is contained in:
parent
7a150003dc
commit
a110c2896d
@ -228,6 +228,16 @@ export class SDKSignerClient {
|
|||||||
this.on('message', handler);
|
this.on('message', handler);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
async get_owned_processes(): Promise<ServerResponse> {
|
||||||
|
const message: ClientMessage = {
|
||||||
|
type: MessageType.GET_MY_PROCESSES,
|
||||||
|
messageId: this.generateMessageId()
|
||||||
|
};
|
||||||
|
|
||||||
|
const response = await this.sendAndWait(message, MessageType.PROCESSES_RETRIEVED);
|
||||||
|
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify an update for a process
|
* Notify an update for a process
|
||||||
|
Loading…
x
Reference in New Issue
Block a user