MCPcopy Create free account
hub / github.com/F-Stack/f-stack / connSetWriteHandler

Function connSetWriteHandler

app/redis-6.2.6/src/connection.h:158–160  ·  view source on GitHub ↗

Register a write handler, to be called when the connection is writable. * If NULL, the existing handler is removed. */

Source from the content-addressed store, hash-verified

156 * If NULL, the existing handler is removed.
157 */
158static inline int connSetWriteHandler(connection *conn, ConnectionCallbackFunc func) {
159 return conn->type->set_write_handler(conn, func, 0);
160}
161
162/* Register a read handler, to be called when the connection is readable.
163 * If NULL, the existing handler is removed.

Callers 11

putSlaveOnlineFunction · 0.85
sendBulkToSlaveFunction · 0.85
rdbPipeReadHandlerFunction · 0.85
syncWithMasterFunction · 0.85
writeToClientFunction · 0.85
protectClientFunction · 0.85
clusterWriteHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected