Cancellable processes

This commit is contained in:
James Barnsley
2017-04-06 09:01:53 +12:00
parent f292e512dc
commit 27272dcd0f
7 changed files with 74 additions and 29 deletions

View File

@ -262,10 +262,11 @@ export function stopLoading(key){
}
}
export function startProcess(key){
export function startProcess(key,content){
return {
type: 'START_PROCESS',
key: key
key: key,
content: content
}
}