refactor: ticking promise is transparent
This commit is contained in:
parent
e0764b2266
commit
81c94cb29b
|
@ -28,7 +28,7 @@ export function behaviorContextTypes() {
|
|||
return {
|
||||
Flow: {
|
||||
conditional: {
|
||||
type: 'ticking-promise',
|
||||
type: 'bool',
|
||||
label: 'If $1 then run $2.',
|
||||
args: [
|
||||
['condition', {
|
||||
|
@ -40,7 +40,7 @@ export function behaviorContextTypes() {
|
|||
],
|
||||
},
|
||||
parallel: {
|
||||
type: 'ticking-promise',
|
||||
type: 'void',
|
||||
label: 'Run $1 in parallel.',
|
||||
args: [
|
||||
['actions', {
|
||||
|
@ -49,7 +49,7 @@ export function behaviorContextTypes() {
|
|||
],
|
||||
},
|
||||
serial: {
|
||||
type: 'ticking-promise',
|
||||
type: 'void',
|
||||
label: 'Run $1 serially.',
|
||||
args: [
|
||||
['actions', {
|
||||
|
|
|
@ -20,7 +20,7 @@ export function behaviorContextTypes() {
|
|||
return {
|
||||
Timing: {
|
||||
wait: {
|
||||
type: 'ticking-promise',
|
||||
type: 'void',
|
||||
label: 'Wait for $1 seconds.',
|
||||
args: [
|
||||
['duration', {
|
||||
|
|
Loading…
Reference in New Issue
Block a user