449 | | Similarly, the function "pcalls" can be used to execute no-arg functions in parallel. |
450 | | |
451 | | {{{ |
452 | | client.core=> (pcalls #(scan-area :bob 8000) #(move :joe 1500 180)) |
453 | | ({"quagent_item_gold" ([839.970581 160.375198 0.613917] ... (output truncated) |
454 | | client.core=> (pp) |
455 | | ({"quagent_item_gold" |
456 | | ([839.970581 160.375198 0.613917] |
457 | | [703.026123 110.582535 0.733509] |
458 | | [142.61908 136.43396 3.618063]), |
459 | | "quagent_item_treasure" |
460 | | ([493.463074 159.83313 1.045044] [908.39563 139.15329 0.567672]), |
461 | | "info_player_deathmatch" |
462 | | ([1001.049011 -176.454605 0.007154] |
463 | | [999.580505 -178.285645 0.007165]), |
464 | | "player" ([1005.275879 -174.131836 0.0] [30.128914 -90.0 0.0])} |
465 | | []) ; note that this is the data from the second command |
466 | | nil |
467 | | }}} |
468 | | |