demonstration of local api that is asyncblock-compatible