refactor: ticking promise is transparent

This commit is contained in:
cha0s 2020-06-20 07:43:20 -05:00
parent e0764b2266
commit 81c94cb29b
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ export function behaviorContextTypes() {
return { return {
Flow: { Flow: {
conditional: { conditional: {
type: 'ticking-promise', type: 'bool',
label: 'If $1 then run $2.', label: 'If $1 then run $2.',
args: [ args: [
['condition', { ['condition', {
@ -40,7 +40,7 @@ export function behaviorContextTypes() {
], ],
}, },
parallel: { parallel: {
type: 'ticking-promise', type: 'void',
label: 'Run $1 in parallel.', label: 'Run $1 in parallel.',
args: [ args: [
['actions', { ['actions', {
@ -49,7 +49,7 @@ export function behaviorContextTypes() {
], ],
}, },
serial: { serial: {
type: 'ticking-promise', type: 'void',
label: 'Run $1 serially.', label: 'Run $1 serially.',
args: [ args: [
['actions', { ['actions', {

View File

@ -20,7 +20,7 @@ export function behaviorContextTypes() {
return { return {
Timing: { Timing: {
wait: { wait: {
type: 'ticking-promise', type: 'void',
label: 'Wait for $1 seconds.', label: 'Wait for $1 seconds.',
args: [ args: [
['duration', { ['duration', {