@midwayjs/casbin-redis-adapterClassesBaseWatcher版本:Next本页总览abstractBaseWatcher <Client>HierarchyBaseWatcherNodeRedisWatcherImplementsWatcherIndex ConstructorsconstructorMethodsgetDefaultSubscribeKeyNamepublishDatasetUpdateCallbacksubscribeDataupdateConstructors constructornew BaseWatcher<Client>(options: { pubClient?: Client; subClient: Client; subscribeKeyName?: string }): BaseWatcher<Client>Type parametersClientMethods getDefaultSubscribeKeyNamegetDefaultSubscribeKeyName(): stringabstractpublishDatapublishData(): anysetUpdateCallbacksetUpdateCallback(callback: () => void): voidabstractsubscribeDatasubscribeData(callback: any): anyupdateupdate(): Promise<boolean>