add channel renderer + try to simplify adapter generics
This commit is contained in:
5
library/internal/channel.ts
Normal file
5
library/internal/channel.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { Message, MessageOptions } from "./message"
|
||||
|
||||
export type Channel = {
|
||||
send(message: MessageOptions): Promise<Message>
|
||||
}
|
||||
Reference in New Issue
Block a user