@midwayjs/casbin-redis-adapterClassesNodeRedisWatcherVersion: NextSur cette pageNodeRedisWatcher HierarchyBaseWatcher<Redis>NodeRedisWatcherIndex ConstructorsconstructorMethodsgetDefaultSubscribeKeyNamepublishDatasetUpdateCallbacksubscribeDataupdateConstructors constructornew NodeRedisWatcher(options: { pubClient?: Redis; subClient: Redis; subscribeKeyName?: string }): NodeRedisWatcherMethods getDefaultSubscribeKeyNamegetDefaultSubscribeKeyName(): stringpublishDatapublishData(): Promise<void>setUpdateCallbacksetUpdateCallback(callback: () => void): voidsubscribeDatasubscribeData(callback: any): Promise<void>updateupdate(): Promise<boolean>