Gaëtan Renaudeau
6 years ago
committed by
GitHub
9 changed files with 47 additions and 23 deletions
@ -0,0 +1,14 @@ |
|||
// @flow
|
|||
|
|||
import { createCommand, Command } from 'helpers/ipc' |
|||
import { from } from 'rxjs' |
|||
import withLibcore from 'helpers/withLibcore' |
|||
|
|||
type Input = void |
|||
type Result = boolean |
|||
|
|||
const cmd: Command<Input, Result> = createCommand('libcoreReset', () => |
|||
from(withLibcore(core => core.getPoolInstance().freshResetAll())), |
|||
) |
|||
|
|||
export default cmd |
Loading…
Reference in new issue