Skip to content

[Support] 手动增加 bull 消费者报 undefined #4207

Closed Answered by czy88840616
heathcliff-hu asked this question in Q&A
Discussion options

You must be logged in to vote

哦,因为不在 ioc 容器里了,加一个 provide 就行。

@Provide()
export class xxx {}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@heathcliff-hu
Comment options

Answer selected by heathcliff-hu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: question / discussion This issue or pull request need be discussion
2 participants