blob: bf322ddd81e8a5941a4dff7ac9b5a7a2e7b9965e [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
module.exports = {
timeout: timeout
};
function timeout(runtime, miliseconds) {
var context = runtime.getContext();
return context.withTimeout(miliseconds || 5000);
}