Skip to content

Web: Typescript and synchronous construction #26

@mikezaby

Description

@mikezaby

Hi! I have two questions/feature requests:

  • TypeScript types: Would it be possible to provide TypeScript type definitions for this package?
  • Synchronous constructor — Is there a reason the constructor needs to be asynchronous? I understand I can use await, but all other AudioNode implementations I’ve used (either built-in WebAudio AudioNodes or custom AudioWorklets) are synchronous. Is there a technical limitation that requires this to be async, or could a synchronous constructor be supported?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions