UNPKG

@csound/browser

Version:

[![npm (scoped with tag)](https://shields.shivering-isles.com/npm/v/@csound/browser/latest)](https://www.npmjs.com/package/@csound/browser) [![GitHub Workflow Status](https://shields.shivering-isles.com/github/workflow/status/csound/csound/csound_wasm)](h

34 lines (29 loc) 592 B
/** * @constructor */ export function MessagePortState() {} /** * @type {boolean} */ MessagePortState.prototype.ready = false; /** * @type {Function|undefined} */ MessagePortState.prototype.port = undefined; /** * @type {Function} */ MessagePortState.prototype.post = () => {}; /** * @type {Function} */ MessagePortState.prototype.broadcastPlayState = () => {}; /** * @type {string|undefined} */ MessagePortState.prototype.workerState = undefined; /** * @type {string|undefined} */ MessagePortState.prototype.vanillaWorkerState = undefined; export default MessagePortState;