Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asynch variante der messageTo Funktion #1341

Closed
BenAhrdt opened this issue Jun 18, 2023 · 1 comment
Closed

Asynch variante der messageTo Funktion #1341

BenAhrdt opened this issue Jun 18, 2023 · 1 comment

Comments

@BenAhrdt
Copy link

BenAhrdt commented Jun 18, 2023

Ist es möglich die messageTo Funktion zusätzlich als ansychrone Version anzubieten?

So könnte man bspw. im JavaScript Adapter anstatt:
log("Start"); messageTo("myInstanze.0","MyCommand",data,callback(callbackdata)=>{ log(JSON.stringyfy(Callbackdata)); }); log("Ende");

auch dies machen:

log("Start"); log(JSON.stringyfy(await messageToAsynch("myInstanze.0","MyCommand",data)); log("Ende");

@BenAhrdt
Copy link
Author

Anscheinend gibt es das schon, nur fehlerhaft.
#1198

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants