add history into mutable psychomatrix

This commit is contained in:
InsanusMokrassar 2018-09-05 20:23:38 +08:00
parent 26a575b614
commit 3cc4c06e6a
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ class MutablePsychomatrix(date: DateTime) : Psychomatrix(date) {
private val mutableOperationsHistory: MutableList<Operation> = ArrayList()
val operationsHistory: List<Operation>
get() = mutableOperationsHistory
val availableOperations: Deferred<List<Operation>>
get() = async {
availableConverts.await().plus(availableInverts.await())