@midwayjs/coreInterfacesAsyncContext版本:Next本页总览AsyncContext Index MethodsdeleteValuegetValuesetValueMethods deleteValuedeleteValue(key: symbol): AsyncContextReturn a new context which inherits from this context but does not contain a value for the given key.getValuegetValue(key: symbol): unknownGet a value from the context.setValuesetValue(key: symbol, value: unknown): AsyncContextCreate a new context which inherits from this context and has the given key set to the given value.
Return a new context which inherits from this context but does not contain a value for the given key.