//! Object Macros
//!
//! This module defines types and traits useful for writing a RiveScript object
//! macro subroutine in Rust.
use BoxFuture;
use crate;
/// Subroutine is a function pattern for defining a RiveScript object macro in Rust.
///
/// Example:
///
/// bot.set_subroutine("rust-set", |proxy, args| {
/// async move {
/// proxy.finish("Hello rust!".to_string())
/// }.boxed()
/// });
pub type Subroutine = ;