Skip to content

Expose DialogueRunner::add_command_task #245

@Xandaros

Description

@Xandaros

Currently, when handling commands not by registering them with YarnCommands, but by responding to an ExecuteCommandEvent, there does not appear to be a way to make the dialogue wait for completion of a task.

DialogueRuenner::add_command_task is a pub(crate) method that would allow a user to achieve exactly this task. I'm open to alternative solutions, of course, but my suggestion would be to simply make this method public.

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