Skip to main content

create_metadata_watcher

Function create_metadata_watcher 

Source
pub fn create_metadata_watcher<K, T>(
    api: Api<K>,
    writer: Writer<PartialObjectMeta<K>>,
    reload_tx: Sender<()>,
    controller_id: ControllerId,
    ctx: Arc<Context<T>>,
) -> BoxFuture<'static, ()>
where K: Resource + Lookup + Clone + DeserializeOwned + Send + Sync + Debug + 'static, <K as Lookup>::DynamicType: Default + Eq + Hash + Clone + Send + Sync, <K as Resource>::DynamicType: Default + Eq + Hash + Clone, T: Resource<DynamicType = ()> + ResourceExt + Lookup + Clone + 'static, <T as Lookup>::DynamicType: Eq + Hash + Clone + Send + Sync,