[][src]Function holochain_core::instance::dispatch_action_and_wait

pub fn dispatch_action_and_wait(
    action_channel: &SyncSender<ActionWrapper>,
    observer_channel: &SyncSender<Observer>,
    action_wrapper: ActionWrapper
)

Send Action to Instance's Event Queue and block until is has been processed.

Panics

Panics if the channels passed are disconnected.