Mon 21 Jul 22:43:21 CEST 2025

This commit is contained in:
sbosse 2025-07-21 23:00:41 +02:00
parent 8616992676
commit a5bfafd388

View File

@ -0,0 +1,17 @@
var x11 = require('../../lib');
var X = x11.createClient();
var numExt = 0;
X.on('connect', function(err, display) {
X.ListExtensions(function(err, list) {
console.log(list);
list.forEach(function(ext) {
numExt++;
X.QueryExtension(ext, function(err, e) {
e.name = ext;
console.log(e);
if (--numExt == 0)
X.terminate();
});
});
});
});