def provide(callback, resource_type):
 _get_manager().register(callback, resource_type)

def provide ( callback , resource_type ) : _get_manager ( ) . register ( callback , resource_type )
register a callback as a producer for the resource type .