Skip to content

Add async command base class - #30

Open
martilut wants to merge 2 commits into
spbu-se:mainfrom
martilut:asyncCommandClass
Open

Add async command base class#30
martilut wants to merge 2 commits into
spbu-se:mainfrom
martilut:asyncCommandClass

Conversation

@martilut

Copy link
Copy Markdown

No description provided.

@martilut martilut changed the title Async command base class added Add async command base class Jul 20, 2021

@Alexander-Ploskin Alexander-Ploskin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все хорошо, было бы неплохо еще реализовать механизм отмены операций, но пока можно обойтись и без этого, раз уж это негде применить в сериализации

{
onException?.Invoke(ex);
}
IsExecuting = false;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Методы, которые должны быть выполнены в любом случае нужно заключать в блок finally

undo method added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants