{"action":"opened","issue":{"url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/739","repository_url":"https://api.github.com/repos/Raizlabs/DBFlow","labels_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/739/labels{/name}","comments_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/739/comments","events_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/739/events","html_url":"https://github.com/Raizlabs/DBFlow/issues/739","id":146293036,"number":739,"title":"How to check when SaveModelTransaction finished","user":{"login":"accursedm0","id":7250207,"avatar_url":"https://avatars.githubusercontent.com/u/7250207?v=3","gravatar_id":"","url":"https://api.github.com/users/accursedm0","html_url":"https://github.com/accursedm0","followers_url":"https://api.github.com/users/accursedm0/followers","following_url":"https://api.github.com/users/accursedm0/following{/other_user}","gists_url":"https://api.github.com/users/accursedm0/gists{/gist_id}","starred_url":"https://api.github.com/users/accursedm0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/accursedm0/subscriptions","organizations_url":"https://api.github.com/users/accursedm0/orgs","repos_url":"https://api.github.com/users/accursedm0/repos","events_url":"https://api.github.com/users/accursedm0/events{/privacy}","received_events_url":"https://api.github.com/users/accursedm0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-06T12:02:12Z","updated_at":"2016-04-06T12:02:12Z","closed_at":null,"body":"How to check when a SaveModelTransaction is finished and call some function?\r\n\r\nI'm storing a few models using SaveModelTransactions like this:\r\n\r\n```\r\nTransactionManager.getInstance().addTransaction(new SaveModelTransaction<>(ProcessModelInfo.withModels(companyList)));\r\nTransactionManager.getInstance().addTransaction(new SaveModelTransaction<>(ProcessModelInfo.withModels(eventList)));\r\n```\r\n\r\nI'd just need to call a function after these transactions are finished to do some post-processing.\r\nI guess there must be a simple solution for it, but although I checked the docs all over a few times already, unfortunately I can't figure out how to do it.\r\nAny help on this would be much appreciated."}}