Skip to content

waiting for stop event. #6

@Simbaclaws

Description

@Simbaclaws

Hey,

apparently when I do:

TTS.stop().then(() => {
          this.isTalking = false;
          console.log('stopped');
        }).catch((reason: any) => {
          this.isTalking = false;
          console.log(reason);
        });

The then and catch are not being called...
The stop is being called though, so I think I'lll just remove the .then and set it to false after calling stop.

It is nice to have a callback to know whether it stopped or errored out for some reason though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions