mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-28 03:32:51 +08:00
12 lines
250 B
Ucode
12 lines
250 B
Ucode
'use strict';
|
|
|
|
let state = { apply_count: 0, accepted: true, reason: '' };
|
|
|
|
return {
|
|
state: state,
|
|
start_local_apply_async: function() {
|
|
state.apply_count++;
|
|
return { accepted: state.accepted, reason: state.reason };
|
|
}
|
|
};
|