anycontent callback - support for oncomplete

this is experimental. may get pulled.