fix: extract VRF to a plugin #248
This commit is contained in:
@@ -174,6 +174,14 @@ export class Warp {
|
||||
return this.plugins.get(type) as WarpPlugin<P, Q>;
|
||||
}
|
||||
|
||||
maybeLoadPlugin<P, Q>(type: WarpPluginType): WarpPlugin<P, Q> | null {
|
||||
if (!this.hasPlugin(type)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return this.plugins.get(type) as WarpPlugin<P, Q>;
|
||||
}
|
||||
|
||||
// Close cache connection
|
||||
async close(): Promise<void> {
|
||||
return Promise.all([
|
||||
|
||||
Reference in New Issue
Block a user