Grains.Support.Utils (Grains v1.7.1)
Small function that help with debugging and testing.
Link to this section Summary
Functions
This function takes
This function takes
Inject pull_with_tag to all predecessors of short_sender
Inject pull_with_tag to receiver as if it was issued by short_sender
This function takes
Link to this section Functions
Link to this function
inject_pull(supervisor, short_receiver, short_sender)
This function takes:
- the grain
supervisorpid - short name
receiver - short name
senderIt send sends a pull toreceiveras if it came fromsender.receiverneeds to be an existing grain in the recipe.sendercan be an existing grain or made up.
Link to this function
inject_pull_all(supervisor, short_sender)
This function takes:
- the grain
supervisorpid - short name
senderIt send sends a pull to predecessors ofsendersenderneeds to be an existing grain in the recipe and alive.
Link to this function
inject_pull_all_with_tag(supervisor, short_sender, tag)
Inject pull_with_tag to all predecessors of short_sender
Link to this function
inject_pull_with_tag(supervisor, short_receiver, short_sender, tag)
Inject pull_with_tag to receiver as if it was issued by short_sender
Link to this function
inject_push(supervisor, short_receiver, short_sender, msg)
This function takes:
- the grain
supervisorpid - short name
receiver - short name
sender - a message
msgIt send sends a push toreceiverwithmsgas content as if it came fromsender.receiverneeds to be an existing grain in the recipe.sendercan be an existing grain or made up.