This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// **** Traker **** | |
const context = { | |
worker_list: [], | |
task_queue: [], | |
enqueue: 0, | |
dequeue: 0, | |
} | |
const trackerConfig = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// **** Traker **** | |
const context = { | |
worker_list: [], | |
task_queue: [], | |
enqueue: 0, | |
dequeue: 0, | |
} | |
const trackerConfig = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GenerateWorkers | |
const worker_data = [ | |
{worker_id: 0}, | |
{worker_id: 1}, | |
{worker_id: 2}, | |
] | |
const workers_config = worker_data.reduce((acc, curr) => { | |
const { worker_id } = curr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GenerateWorkers | |
const worker_data = [ | |
{worker_id: 0}, | |
{worker_id: 1}, | |
{worker_id: 2}, | |
] | |
const workers_config = worker_data.reduce((acc, curr) => { | |
const { worker_id } = curr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GenerateWorkers | |
const worker_data = [ | |
{worker_id: 0}, | |
{worker_id: 1}, | |
{worker_id: 2}, | |
] | |
const workers_config = worker_data.reduce((acc, curr) => { | |
const { worker_id } = curr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const context = { | |
config: {}, | |
data: { | |
entity_id: '', | |
entity: 'users', | |
selected_navigation: '', | |
navigations: [], | |
browse: [], | |
fullScreenedComponent: { | |
component_name: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const context = { | |
config: { | |
max_attempts: 5 | |
}, | |
data: { | |
fields: {}, | |
entity_id: '', | |
entity: 'users', | |
isSaveAndClose: false, | |
attempts: 0 |
OlderNewer