Skip to content

add async save#64

Open
summjai wants to merge 1 commit into
masterfrom
coredata-fixes
Open

add async save#64
summjai wants to merge 1 commit into
masterfrom
coredata-fixes

Conversation

@summjai
Copy link
Copy Markdown
Collaborator

@summjai summjai commented Mar 3, 2020

No description provided.

@summjai summjai requested review from FesenkoG and qe0 March 3, 2020 20:15
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

такс

backgroundContext.perform {
T.insertOrUpdate(
context: viewContext,
context: self.viewContext,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Это выглядит не хорошо - ты делаешь операцию на одном контексте а вставляешь на другом

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