view Applications/Samples/samples-library.js @ 431:26b90b110719 am-vsol-upgrade

added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
author am@osimis.io
date Thu, 29 Nov 2018 19:25:15 +0100
parents 126c9c0c9333
children
line wrap: on
line source

// this file contains the JS method you want to expose to C++ code

// mergeInto(LibraryManager.library, {
//    ScheduleRedraw: function() {
//      ScheduleRedraw();
//    }
//  });