discharge a function

See: officiate